Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30319

Default templates for RichText Custom Styles are not used

    Details

      Description

      Steps to reproduce

      1. Define your custom styles in a simplified way.

      ezplatform.yml

      ezpublish:
          system:
              admin_group:
                  fieldtypes:
                      ezrichtext:
                          custom_styles: [highlighted_block, highlighted_word]
       
      ezrichtext:
          custom_styles:
              highlighted_word:
                  inline: true
              highlighted_block:
                  inline: false
      

      2. Add Folder or Article with Custom style (either block or inline)
      3. Observe

      • default custom style templates not rendered in Admin view mode and front-end site.
      • warning in var/logs/<your-env>.log: "app.WARNING: Template style 'highlighted_block' default configuration was not found"

        Activity

        Show
        Andrzej Longosz added a comment - PR: https://github.com/ezsystems/ezplatform-richtext/pull/30
        Show
        Andrzej Longosz added a comment - Merged: https://github.com/ezsystems/ezplatform-richtext/commit/acce142df292742ebedee3203950ecd62db1e2cf

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrzej Longosz
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: