Does anybody have an idea how to create a custom button for the RTE? I have found some posts but are pretty old and I don't think they can be used for Umbraco V10.
i.e they talk about creating a Add plugin.min.js file to /umbraco/lib/tinymce/plugins/
How do I do that? The folder doesn't exist anymore in the .NET 6 project.
actually it is still referenced using that path, but the umbraco folder gets added to the wwroot folder when you publish your website, it does not exist in Visual studio while developing, you could try creating that structure under wwwroot and add your file (I don't know if it will get overwritten but I suspect not unless umbraco also uses a file with that name)
Creating an TinyMCE toolbar button
Does anybody have an idea how to create a custom button for the RTE? I have found some posts but are pretty old and I don't think they can be used for Umbraco V10.
i.e they talk about creating a
Add plugin.min.js file to /umbraco/lib/tinymce/plugins/
How do I do that? The folder doesn't exist anymore in the .NET 6 project.
actually it is still referenced using that path, but the umbraco folder gets added to the wwroot folder when you publish your website, it does not exist in Visual studio while developing, you could try creating that structure under wwwroot and add your file (I don't know if it will get overwritten but I suspect not unless umbraco also uses a file with that name)
I have tried creating the file in the umbraco folder and it looks like it's replaced when the site runs :(
is working on a reply...