Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

CKEditor FakeObjects

Security covered Maintenance fixes only 13,099 sites

This project provides a way to represent complex or uneditable elements within an editable environment, like a rich text editor. It allows these elements to be converted into a placeholder representation and then restored to their original form when needed. This functionality is essential for other editor plugins that require such placeholders.

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 https://ckeditor.com/cke4/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.
Drupal 8–11

Ask your assistant about CKEditor FakeObjects

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

2 tracked projects depend on this one

Activity

Tracked releases
5
Tracked since
Jan 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 4
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.0.1 Stable 8–11 Feb 20, 2025
2.0.0 Stable 8–11 Feb 20, 2025
2.x-dev Dev 8–11 Feb 20, 2025
8.x-1.3 Stable 8–11 Feb 20, 2025
8.x-1.2 Stable 8–10 Jan 26, 2023