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

  1. Download the plugin from http://ckeditor.com/addon/fakeobjects at least version 4.5.11.
  2. Place the plugin in the root libraries folder (/libraries).
  3. Enable FakeObjects module in the Drupal admin.
Supporting organizations: 
Support & Development

Project Information

Downloads