Module Description
This plugin helps to create a "representative" (image with styles) for certain elements which have problem with living in editable, it provides the API to transform an real DOM element into the "fake" one, and to restore the real element from the fake one on the output.
Adds FakeObjects plugin integration for CKEditor.
This is required by plugins that require fakeobjects to work, like PageBreak.
Other plugins can leverage fakeobjects by adding this in their plugin definition:
class YourButtonPlugin extends CKEditorPluginBase implements CKEditorPluginConfigurableInterface { /** * {@inheritdoc} */ public function getDependencies(Editor $editor) { return ['fakeobjects']; } // more code... Installation
* Download the plugin from https://ckeditor.com/cke4/addon/fakeobjects at least version 4.5.11.
* Place the plugin in the root libraries folder (/libraries).
* Enable FakeObjects module in the Drupal admin.
Adds FakeObjects plugin integration for CKEditor.
This is required by plugins that require fakeobjects to work, like PageBreak.
Other plugins can leverage fakeobjects by adding this in their plugin definition:
class YourButtonPlugin extends CKEditorPluginBase implements CKEditorPluginConfigurableInterface { /** * {@inheritdoc} */ public function getDependencies(Editor $editor) { return ['fakeobjects']; } // more code... Installation
* Download the plugin from https://ckeditor.com/cke4/addon/fakeobjects at least version 4.5.11.
* Place the plugin in the root libraries folder (/libraries).
* Enable FakeObjects module in the Drupal admin.
Module Link
Project Usage
27572
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module solves the problem of creating 'representative' images for elements that have issues living in editable form by providing an API to transform real DOM elements into 'fake' ones and vice versa.
Data Name
fakeobjects