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

Default templates for RichText Custom Styles are not used

    XMLWordPrintable

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"

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrew.longosz@ibexa.co Andrew Longosz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: