Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-3433

Resolve AceEditor mode automatically for syntax highlighting.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.4
    • None
    • forms

      Currently we have to define mappings (e.g. in the old resources app) for identifying AceEditor mode.
      This ticket aims to detect it automatically in BasicTextCodeFieldFactory, based on the file extension.

      For this feature to be usable in various apps, we assume the Vaadin Item has to provide the file name as one of its properties—which name may vary, e.g.:

      • JcrNodeAdapter provides it as "jcrName"
      • new resources app is currently using BeanItem<ResourcePath>, hence providing file name as its "name" property.

        Acceptance criteria

              ilgun Ilgun Ilgun
              ilgun Ilgun Ilgun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD