tinymce / tinymce-blazor

Blazor integration
MIT License
45 stars 13 forks source link

Unable to remove upgrade button #54

Closed silentdevnull closed 1 year ago

silentdevnull commented 1 year ago

Hello,

I'm working on using tinymce for the first time in a project.

I installed tinymce from nuget and tinymce.blazor. I did the scriptsrc in tag to point to the javascript files that tinymce brought in from nuget.

The issue I'm having is I can't make the lightning bolt upgrade button to go away. I'm wating to run this as a self hosted option.

How can I make this button go away.

Thanks,

exalate-issue-sync[bot] commented 1 year ago

Ref: INT-3010

EkimChau commented 1 year ago

Hello silentdevnull,

This is a new configuration option for TinyMCE 6.2, more details can be found in the link below, including how to turn off this feature. https://www.tiny.cloud/docs/tinymce/6/editor-premium-upgrade-promotion/

Hope that helps

silentdevnull commented 1 year ago

Thank you for that information and fast reply @EkimChau. I was able to disable it in my configuration directory.

Example for anyone else having this issue.

private Dictionary<string, object> _editorConfiguration = new Dictionary<string, object> {
        { "promotion", false}
};