Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2493

RichTextConfigurationTag#REMOVE_EMPTY_ATTRIBUTES does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.0RC6
    • 4.0RC5
    • Inline Editor
    • None

      org.ametys.core.ui.widgets.richtext.RichTextConfigurationTag.EMPTY_TAG.REMOVE_EMPTY_ATTRIBUTES

      it will generate a ! before the declaration of the span tag in

      Ametys.form.widget.RichText.RichTextConfiguration.getTags()

      , which seems to be the cause of the bug (see TinyMCE documentation)

      As a result, as REMOVE_EMPTY_ATTRIBUTES is defined for default RichTextConfiguration (in plugin.xml:529 of plugin core-ui) for span tag, the span do not work anymore

      So, currently declaration of lang change and semantic annotation use span, and do not work in rich text

            raphael Raphaƫl Franchet
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: