Issue Bug Closed

#103979Bug in cms-rte-ckeditor: "small" element not usable in Composer-mode

Harald Witt 06/05/24, 05:50 updated 10/15/24, 09:30

Description

I found an error in cms-rte-ckeditor. In Configuration/RTE/Default.yaml and Configuration/RTE/Full.yaml you can find the following lines:

 style:
      definitions:
        - { name: "Lead", element: "p", classes: ['lead'] }
        - { name: "Small", element: "small", classes: [] }

The -Tag does not function. But it will with the following line:

     - { name: "Small", element: "small", classes: [''] }

This will result in a -Tag with an empty class, but it does function at least.

Reviews 2