Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Adds in the Floatpanel plugin for CKEditor.
This is required by plugins that need floatpanel plugin to work, like Emoji.
Other plugins can leverage floatpanel by adding this in their plugin definition:
class YourButtonPlugin extends CKEditorPluginBase implements CKEditorPluginConfigurableInterface {
/**
* {@inheritdoc}
*/
public function getDependencies(Editor $editor) {
return ['floatpanel'];
}
// more code...
Installation
- Download the plugin from http://ckeditor.com/addon/floatpanel
- Place the plugin in the root libraries folder (/libraries).
- Enable Floatpanel module in the Drupal admin.
Composer:
- Copy the following into your project's composer.json file.
- Ensure you have following mapping inside your composer.json.
- Run following command to download required library.
- Enable the Floatpanel module.
"repositories": [
{
"type": "package",
"package": {
"name": "ckeditor-plugin/floatpanel",
"version": "4.11.4",
"type": "drupal-library",
"dist": {
"url": "https://download.ckeditor.com/floatpanel/releases/floatpanel_4.11.4.zip",
"type": "zip"
}
}
}
]
"extra": {
"installer-paths": {
"web/libraries/{$name}": ["type:drupal-library"]
}
}
composer require ckeditor-plugin/floatpanel
Supporting organizations:
Project information
- Module categories: Content Display, Content Editing Experience
- 1,510 sites report using this module
- Created by szloredan on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.