Page MenuHomePhabricator

Make Ace Editor available to TemplateData, to help with editing the maps parameter in the TemplateData dialog
Open, Needs TriagePublic


Ace Editor is available via the CodeEditor extension; however, it would also be useful to other extensions, to allow for features like T260788: Use code editor widget in the TemplateData dialog to edit maps.

There is already an example of an extension that uses Ace Editor if CodeEditor is available: VisualEditor has a custom widget for this, MWAceEditorWidget.

It would be helpful for extensions to be able to have a reusable way for extensions to use the Ace Editor, e.g. a core widget for editing code that uses Ace Editor if CodeEditor is available, and a default implementation if not.