Problem/Motivation
Currently, the CodeMirror configuration is hardcoded.
Proposed resolution
This issue seeks to add a global configuration for CodeMirror for the 'template_code' field on the add/edit form. Allow site builders to define configuration in YAML.
Remaining tasks
- Submit patch
- Review
User interface changes
Addition of Twig UI Templates global config page/form
API changes
None.
Data model changes
Addition of codemirror_config to the twig_ui.settings config entity
Issue fork twig_ui-3177982
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
chris burge commentedComment #4
chris burge commentedCode has been committed to MR. Settings to 'Needs work' for tests.
Comment #5
chris burge commentedHmmm.. tests pass locally
Comment #7
chris burge commented