contextualcode/ezplatform-alloyeditor-element-width

eZ Platform bundle which provides UI to edit elements width in Online Editor

v2.0.1 2020-05-18 10:59 UTC

This package is not auto-updated.

Last update: 2021-11-29 17:19:12 UTC


README

This bundle allows editing the width style for any HTML elements in eZ Platform Online Editor.

Installation

  1. Require via composer

     composer require contextualcode/ezplatform-alloyeditor-element-width
    
  2. Clear browser caches and enjoy!

Usage

  1. After this bundle is installed, by default it should be possible to edit width for table cells. But if you are using custom configurations for Online Editor toolbars, or if you want to edit width for other elements than table cells, just add element-width button to required toolbars. Example:
     alloy_editor:
         extra_buttons:
             table: [element-width]
             ol: [element-width]
             ul: [element-width]
             th: [element-width]
             td: [element-width]
    
  2. Open Online Editor and there should be "Edit Width" button in the enabled toolbars: edit_source_modal