Copied to clipboard

Flag this post as spam?

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


  • James Costerton 2 posts 82 karma points
    25 days ago
    James Costerton
    0

    RichTextEditor Toolbar not updating / Adding Forecolor

    I've been trying to add the ForeColor/TextColor tool to the RichTextEditor (Umbraco.TinyMCEv3) without success.

    The site is Umbraco v.12.4 and I followed the examples below: https://wailaw.me/categories/umbraco-text-color-picker-rich-text-editor/ https://www.fastfwd.com/enable-textcolor-picker-umbraco/

    I can see the ForeColor and [A] icon and enable it in dev/datatypes/edit RichTextEditor but the Forecolor tool doesn't appear in the toolbar.

    If I deliberately break the tinyMCEConfig file then touch web.config, both the dev/datatype editor and content richtext control show an error so I know I'm editing the right files.

    Even enabling/disabling other tools (eg. Embed) doesn't appear to update the Toolbar. I suspect the settings are being cached somewhere, or the displayed toolset is being pulled from somewhere else but I'm not sure where to look. I tried debug="true" in compilation, and bumping the clientDependency version.

    If anyone has some suggestions, that'd be great.

    Thanks James

  • Frans de Jong 433 posts 1548 karma points c-trib
    23 days ago
    Frans de Jong
    100

    Just to be shure. Did you apply the rte changes on the correct datatype? For instance if you want to change the RTE in grid layout you need to change the grid layout datatype.

    The same goes for every RTE in the project. They all have their own buttonlayout.

  • James Costerton 2 posts 82 karma points
    23 days ago
    James Costerton
    0

    Thanks so much Frans. I wasn't aware of the individual button layouts. All working as expected now having reflected the changes on each one.

  • Frans de Jong 433 posts 1548 karma points c-trib
    23 days ago
    Frans de Jong
    0

    Great it's solved! It has happened to me to :P

  • John Bergman 407 posts 959 karma points
    21 days ago
    John Bergman
    0

    On a somewhat related question... anyone know how to set the background color up for TinyMCE?

  • Frans de Jong 433 posts 1548 karma points c-trib
    1 week ago
    Frans de Jong
    0

    I don't think that is a default feature of the rich text editor in Umbraco. I think you need to make your own implementation for that.

    Are you using the RTE in a grid or standalone in a documenttype?

Please Sign in or register to post replies

Write your reply to:

Draft