tinymce / tinymce-blazor

Blazor integration
MIT License
45 stars 13 forks source link

How to self host tinymce-blazor edition? #36

Closed ClassyCircuit closed 2 years ago

ClassyCircuit commented 2 years ago

I want to self host TinyMCE and use it in my blazor application. Is it possible to do it using this tinymce-blazor package? Or does it work only with the cloud subscription?

exalate-issue-sync[bot] commented 2 years ago

Ref: INT-2776

jscasca commented 2 years ago

@janissimsons you can use self-hosted in your blazor application. There are two ways of doing that:

You can load your own version of TinyMCE in your _host.cshtml file or your index.html file before loading the blazor server script <script src="_framework/blazor.server.js"></script>

Or you can use the property ScriptSrc to point to the location of your self-hosted TinyMCE.min.js file.

Let me know if this helps

ClassyCircuit commented 2 years ago

Perfect, thank you.