Review main Merged

69139[TASK] Render TS and pageTS snippets with CodeMirror

Benjamin Franzke CR +2 V +2 Hard +288 −553 updated 05/20/21, 13:57

Commit message

The TypoScript parser has a built in syntax hightlighter.
This is used by ext:tstemplate template analyzer and a sub
section of ext:info PageTsConfig.

We however have a much better syntax highlighter: t3editor.

The patch commits some long overdue love to the template
analyzer to use CodeMirror rendering for TypoScript
snippets. It kicks in if t3editor is loaded, otherwise a
textarea is rendered.

This allows to drop a metric ton of horky borky code from
TypoScriptParser and friends - enabling further refactorings
that may eventually end up with performance improvements
in some happy future?

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 14