Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25695

After upgrading, macro names are persistently displayed in the WYSIWYG editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 18.9.0
    • CKEditor
    • None
    • Unknown

    Description

      Steps to reproduce:

      1. Upgrade from XWiki 18.7.0 to 18.9.0. Make sure you use the WYSIWYG editor at least once before upgrading.
      2. Open the WYSIWYG editor and insert a macro.

      Expected result:

      The macro name is only displayed when hovering the macro and styled with a gray background.

      Actual result:

      Macro names are always displayed, and aren't properly styled:

      This is caused by ContentSheet being loaded without version in the URL and thus being cached by the browser (and possibly server-side, haven't checked) at https://github.com/xwiki/xwiki-platform/blob/e91aedf4e3d9e33a52f6a8f20ff449a5a63ce6c1/xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-ui/src/main/resources/CKEditor/InlineEditor.xml#L141

      Attachments

        Issue Links

          Activity

            People

              Lucas C Charpentier Lucas
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: