Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • mc2 13 posts 74 karma points
    Mar 20, 2023 @ 16:23
    mc2
    0

    Umbraco 11 TinyMce V6 Custom Plugin

    Hi, I'm upgrading v8 site which had some simple tinymce plugins, how do I add one in the Umbraco v11? Where do I have to add JS file and how to properly set appsettings config so it gets picked up?

  • Tor Langlo 191 posts 554 karma points
    Mar 21, 2023 @ 03:42
    Tor Langlo
    0

    The "RichTextEditor" aka TinyMce is now configured in the appSettings.json. You'll find more information on the following documentation pages:

    The first link is probably the best place to start (but unfortunately the most difficult to find in the documentation).

  • mc2 13 posts 74 karma points
    Mar 21, 2023 @ 07:21
    mc2
    0

    Yeah, I have read all of this, it is clear how to set up the app settings, but I can't find anything about how to handle custom plugin code, where to put it so it gets picked up properly by tinymce?

    tinymce.PluginManager.add('example'...
    
  • Huw Reddick 1932 posts 6722 karma points MVP 2x c-trib
    Mar 21, 2023 @ 08:51
    Huw Reddick
    100

    Hi mc2,

    I believe your javascript files should be placed in

    \wwwroot\umbraco\lib\tinymce\plugins\myplugin
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies