Copied to clipboard

Flag this post as spam?

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


  • Madarlex 2 posts 72 karma points
    Mar 15, 2022 @ 07:03
    Madarlex
    0

    Set up tinyMce Umbraco V9

    Anyone know how to set up tinyMce in UMBRACO V9?

    in Umbraco V8, there is a tinyMce config file, but in V9 it combine with app.setting file.

    I search through documentation, there is only a V8 support?

    Thanks in advance

  • Lucas Michaelsen 32 posts 233 karma points
    Mar 15, 2022 @ 08:38
    Lucas Michaelsen
    0

    Hello Madarlex.

    All RTE Configs in Umbraco 9 is places in the appsettings.json. Here is an ex. of where in the appsettings they are placed, and what config params, there is, have they are writen

    {
       "$schema": "./umbraco/config/appsettings-schema.json",
       "Umbraco": {
           "CMS": {
               "RichTextEditor": {
                   "ValidElements": "+a[id|style|rel|data-id|data-udi|rev|charset|hreflang|dir|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],-strong/-b[class|style]", // .............
               "InvalidElements": "font",
               "Commands": [
                    {
                        "Alias": "fullscreen",
                        "Name": "Full Screen",
                        "Mode": "All"
                    }
               ],
              "Plugins": [
                  "fullscreen"
              ]
             }
          }
       }
    }
    
  • Lucas Michaelsen 32 posts 233 karma points
    Mar 15, 2022 @ 08:45
  • Madarlex 2 posts 72 karma points
    Mar 15, 2022 @ 13:01
    Madarlex
    0

    Firstly, Thanks Lucas,

    your answer did really help me out.

    In addition, can you explain a little bit detail about add tinyMce.

    For example, I want to add plugin "advcode" in (https://www.tiny.cloud/docs-4x/plugins/advcode/)

    Anyway thanks,

  • 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