Copied to clipboard

Flag this post as spam?

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


  • progproger 52 posts 130 karma points
    May 17, 2019 @ 12:58
    progproger
    0

    TinyMCE In Umbraco 8

    Hi,

    Is there any info of how to add color picker in RTE? I tried to follow this instruction:

    https://www.fastfwd.com/enable-textcolor-picker-umbraco/ but the problem is that in Umbraco 8 tinyMceConfig file looks differently.

    Can you please advice?

  • Zac 239 posts 541 karma points
    Mar 04, 2020 @ 14:52
    Zac
    0

    Any luck on this? We're doing some research on how to accomplish this in v8 too. If you have any suggestions, we'd love to hear them.

  • Ayyoub Meijer 3 posts 74 karma points
    Jul 20, 2020 @ 12:42
    Ayyoub Meijer
    1

    Hey,

    I found the solution after a lot of searching and trying.

    <commands>
        <command alias="forecolor" name="Color picker" mode="Selection" />
    </commands>
    <plugins>
        <plugin>textcolor</plugin>
    </plugins>
    

    the alias of the command needs to be the same as the toolbar name in the tiny mce documentation

    https://www.tiny.cloud/docs-4x/plugins/textcolor/

  • Ken Schnell 35 posts 147 karma points
    Jul 20, 2020 @ 19:22
    Ken Schnell
    0

    High Five - thanks for posting your solution I had been working on this exact format but the command alias did not seem to be working for me. I tried mceApplyTextcolor , mceRemoveTextcolor , textcolor etc.. and everything else , I probably tried forecolor when I had a commenting error in my config and just forgot to go revisit it.

    I knew it was simple config - just getting the right naming is a total head banger.

    Also Thanks for the Link - back color looks like a possibility as well..

  • Marc Goodson 2157 posts 14434 karma points MVP 9x c-trib
    Jul 20, 2020 @ 18:51
  • Ayyoub Meijer 3 posts 74 karma points
    Jul 30, 2020 @ 20:07
    Ayyoub Meijer
    0

    Hello Marc,

    The documentation explains a lot, but it does not show how to add the existing plugins. The commands section changed quite a bit in umbraco 8 so much that alias names changed.

  • Marc Goodson 2157 posts 14434 karma points MVP 9x c-trib
    Jul 31, 2020 @ 07:32
    Marc Goodson
    0

    Hi Ayyoub

    It would be great to update the documentation to reflect what people need to understand how to configure tinymce, it's open source (the documentation) so we can create an issue https://github.com/umbraco/UmbracoDocs/issues or even a PR to update!

    With the link above, https://our.umbraco.com/documentation/Reference/Config/tinyMceConfig/#example---adding-the-tinymce-code-sample-plugin

    Could the v8 example be updated to make it clearer how to add a custom plugin?

    Agree so much has changed here between V7 and V8.

    regards

    Marc

  • Zac 239 posts 541 karma points
    Jul 20, 2020 @ 18:53
    Zac
    0

    That's great that documentation exists now. We solved this a while ago by comparing our custom plugin vs one from Umbraco's source.

  • Matt Taylor 873 posts 2086 karma points
    Oct 29, 2020 @ 09:23
    Matt Taylor
    0

    The rate at which Umbraco changes is a big pain for old timers like me. :-P Re-learning how to do things I've been able to do do in the past.

    If anybody can figure out how to get a TinyMCE Template working in v8 please let me know. https://our.umbraco.com/forum/using-umbraco-and-getting-started/103981-tinymce-templates-in-umbraco-8

  • Marc Goodson 2157 posts 14434 karma points MVP 9x c-trib
    Oct 29, 2020 @ 16:39
    Marc Goodson
    0

    Hi Matt

    I have accepted your challenge! and updated the forum post you link to.. but yes, feel your pain...

    regards

    Marc

  • Matt Taylor 873 posts 2086 karma points
    Oct 30, 2020 @ 10:10
    Matt Taylor
    0

    That's great Marc thank you.

    I'm looking at it now and will post my result there. :-)

  • 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