tinymce / tinymce-blazor

Blazor integration
MIT License
45 stars 15 forks source link

Clarity on ScriptSrc #70

Open Serge-N opened 1 year ago

Serge-N commented 1 year ago

It would be nice to have proper information on the expected default script for Self-hosted. This can emphased that the developer has to provide their own script.

For those that are not using the cloud option and are new to tiny have little to no idea that the nugget package (TinyMCE.Blazor) does not provide this script.

<Editor ScriptSrc="/path/to/tinymce.min.js" />

TinyITAdmin commented 1 year ago

Ref: INT-3215

msegers commented 1 year ago

Thanks for pointing that out, I was looking for exactly that answer, and I haven't found anything in the documentation regarding.

LeaFrock commented 1 year ago

Install another Nuget package called TinyMCE.

If you're using Blazor WASM, you'll see a new folder lib/tinymce appearing in wwwroot after project building. Therefore, the path will be like,

<TinyMCE.Blazor.Editor ScriptSrc="lib/tinymce/tinymce.min.js" />