Twig template plugin for ckeditor5
npm install ckeditor5-twigThis CKEditor5 plugin allows editing Twig templates.
Demo: mroca.github.io/ckeditor5-twig
Features:
- Display all available variables, their type & children.
- {{ variable|filter }}
- {% tag %} blocks
- {% tag %} with content {% endtag %} blocks
- {# comments #}
- Raw Twig content with Code blocks
- Allow using variables into images src
- Import / Export html code button
You must use the same major CKEditor version as the one supported by this plugin (see the package.json file).
If you get a ckeditor-duplicated-modules error, you have mismatching versions.
``bash`
yarn add ckeditor5-twig
`html`
> Note: you should use a