Uploaded image for project: 'Wiki Editor Tools'
  1. Wiki Editor Tools
  2. WIKIEDITOR-48

Disabling Syntax Highlighting from Administration requires a clear of the browser cache

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0
    • 3.4
    • Syntax Highlighting
    • None

    Description

      Because Syntax Highlighting is enabled through an Always Use JSX that inspects the configuration using parsed velocity, the result of the parsing gets cached together with the JSX's code so a change in the configuration is not noticed by the javascript which is now cached with the old value.

      The document version parameter is not helping us either, since it's the Configuration page that gets updated and not the code page, so the code page's version is never incremented to trigger a re-fetch of the server-side JS code.

      Workaround: Refresh/Clear the browser's cache.

      Attachments

        Activity

          People

            enygma Eduard Moraru
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: