nuget - Issue with the self-hosted version of TinyMCE - Stack Overflow

I'm using TinyMCE 7.7.1 in a .NET 8 MVC application, downloading the component from NuGet. Therefo

I'm using TinyMCE 7.7.1 in a .NET 8 MVC application, downloading the component from NuGet. Therefore, I'm using the self-hosted version, which doesn't require a commercial license, as explained at /get-tiny/

However, when using this control, I see an "upgrade" button, as if the license wasn't configured correctly. This happens whether I'm using the GPL license, using my API Key (obtained after registration), or even deleting the license_key attribute from the initialization.

TinyMCE UI with Upgrade button

My code is basic:

tinymce.init({
 selector: "#maileditor",
 license_key: 'gpl',
 language: "es",
 height: 600,
 plugins: "lists link image searchreplace visualblocks wordcount help ",
 toolbar: "undo redo | bold italic underline forecolor | align lineheight | numlist bullist outdent indent | link image | removeformat",
});

On the other hand, if instead of using the self-hosted code I use the Cloud version, everything works correctly (but I prefer the self-hosted version).

For the self-hosted version, I use: <script src="/lib/tinymce/tinymce.min.js" referrerpolicy="origin"></script>

For the Cloud version, I use: <script src="/1/[My API Key here]/tinymce/7.1.2/tinymce.min.js" referrerpolicy="origin"></script>

Any ideas on how to fix this?

Thank you very much, best regards.

I've tried setting the GPL license to use, or the personal license I received after registration; but neither has worked.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744705461a4589029.html

相关推荐

  • nuget - Issue with the self-hosted version of TinyMCE - Stack Overflow

    I'm using TinyMCE 7.7.1 in a .NET 8 MVC application, downloading the component from NuGet. Therefo

    1天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信