AlloyEditor Edit Source

Install Package

eZ Platform AlloyEditor Source

This bundle allows editing the HTML source code of the fields managed by eZ Platform Online Editor. So it provides "disable editor" functionality from eZ Publish Legacy.

Installation

  1. Require via composer
    composer require contextualcode/ezplatform-alloyeditor-source
  2. Add bundle in config/bundles.php:
    return [
        ...
        ContextualCode\EzPlatformAlloyEditorSourceBundle\EzPlatformAlloyEditorSourceBundle::class => ['all' => true],
    ];
  3. Clear caches:
    php bin/console cache:clear
  4. Install assets:
    php bin/console assets:install web --symlink --relative
  5. Compile assets:
    yarn encore dev
  6. Update JavaScript translations:
    php bin/console bazinga:js-translation:dump web/assets --merge-domains
  7. Clear browser caches and enjoy!

Usage

  1. Start editing any content with Rich Text fields in eZ Platform admin UI. And click "Edit Source" button in Rich Text Online Editor toolbar: open_modal
  2. A new modal will be shown, where you can edit the source code: edit_source_modal

Using CKEditor plugins in eZ Platform UI

To check the example of using the CK Editor plugin in the eZ Platform please use 1.0 branch.

blog comments powered by Disqus

Created by:

Categories:

Downloads:

4748

Stars:

0

Forks:

0

Created:

Updated: