(I'm fairly sure that in Umbraco 10 the "Alias" was "templates" rather than "template", because I had a working example from an older project).
The file templates-config.html is just a list of HTML files in a JSON format that the templates are from - the contents in my case are:
[
{"title" : "Summary List", "description": "A summary list designed to summarise information", "url": "/App_Plugins/TinyMceTemplates/template-summary-list.html"},
{"title": "Dummy", "description" :"A test template", "content": "<p>oh hi I'm a test, ignore me</p>"}
]
showing templates in tinymce
Has anyone a running sample for tinymce with Plugin "Template" for umbraco11?
Hi Klaus,
You can configure TinyMce through app settings.
https://docs.umbraco.com/umbraco-cms/reference/configuration/richtexteditorsettings
You can probably do it through the custom config setting.
I have used that for setting custom style formats.
You may have to enable it through the Commands section.
Dave
I've just had this fight with Umbraco 13 - here's the config I have that appears to work in my appsettings.json :
(I'm fairly sure that in Umbraco 10 the "Alias" was "templates" rather than "template", because I had a working example from an older project).
The file templates-config.html is just a list of HTML files in a JSON format that the templates are from - the contents in my case are:
Hope that helps!
is working on a reply...