Is it possible to add templates or chunks to the editor (5th Version)? If yes, how can I add templates to the TinyMCE editor?
Why is it needed?
It would be very easy to add ready html codes with information between the paragraphs. For example, not all content-managers have a knowledge in html and this would help them to add ready html blocks with information during adding a new content to the site.
Suggested solution(s)
As far as I know, TinyMCE v5 allows to add the plugin "Template". I have added it into plugins https://skr.sh/sFEFyF9vbDK?a and added to the toolbar. An icon of Templates appeared in editor. https://skr.sh/vFElGxwp5ZW?a When I click on the button Template, system says: No templates defined. I added templates at tinymcerte.template_list as well. https://skr.sh/sFEqTMcEpFQ?a But TinyMCE editor says that there are no templates defined.
You can't use a direct system setting to fill the template plugin setting, you have to create a JSON and reference it in tinymcerte.external_config or fill the JSON into the tinymcerte.settings system setting.
Feature request
Summary
Is it possible to add templates or chunks to the editor (5th Version)? If yes, how can I add templates to the TinyMCE editor?
Why is it needed?
It would be very easy to add ready html codes with information between the paragraphs. For example, not all content-managers have a knowledge in html and this would help them to add ready html blocks with information during adding a new content to the site.
Suggested solution(s)
As far as I know, TinyMCE v5 allows to add the plugin "Template". I have added it into plugins https://skr.sh/sFEFyF9vbDK?a and added to the toolbar. An icon of Templates appeared in editor. https://skr.sh/vFElGxwp5ZW?a When I click on the button Template, system says: No templates defined. I added templates at tinymcerte.template_list as well. https://skr.sh/sFEqTMcEpFQ?a But TinyMCE editor says that there are no templates defined.
Please, help!