Copied to clipboard

Flag this post as spam?

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


  • David Gregory 85 posts 211 karma points
    5 days ago
    David Gregory
    0

    tinyMCE add Search and Replace u13

    Hello all

    Please could you advise how to add the searchreplace plugin to the tinymce editor in Umbraco 13

    I have added this to config

    "RichTextEditor": { "Plugins": [ "wordcount", "searchreplace" ], "CustomConfig": { "statusbar": "true" } }

    but I don't know how to get the icon to appear.

    I tried adding

    toolbar: 'searchreplace' which worked but then all the other icons disappeared.

    David

  • Farshad 4 posts 74 karma points
    2 days ago
    Farshad
    0

    To add the searchreplace plugin to the TinyMCE editor in Umbraco 13, you can simply include it in both the Plugins and Toolbar sections in your configuration. This way, the icon will appear alongside the existing toolbar items.

    Here's how you can update your configuration (in appsettings.json):

    "Umbraco": { "CMS": {
    "Content": {
      "RichTextEditor": {
        "Plugins": [ "wordcount", "searchreplace", "autolink", "lists", "link", "table", "image", "media" ],
        "Toolbar": [
          "undo redo | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image media | searchreplace"
        ],
        "CustomConfig": {
          "statusbar": "true"
        }}}}}
    
  • David Gregory 85 posts 211 karma points
    1 day ago
    David Gregory
    0

    Thanks for the reply.

    Does this mean then, if I want to add 1 plugin I have to add them all and use this config instead of the one in the backend of Umbraco?

    That is to say, do I have to replicate my set up from within the backend in here instead?

    There is no way to just add 1 extra plugin in here and the rest will remain as configured in the backend?

Please Sign in or register to post replies

Write your reply to:

Draft