Copied to clipboard

Flag this post as spam?

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


  • Saif Obeidat 79 posts 293 karma points
    Jul 07, 2019 @ 08:53
    Saif Obeidat
    1

    How to add color and font size features to Richtext Editor - Umbraco8

    Hi,

    Is it possible to add color picker and font size to Richtext Editor on Umbraco 8 ?

    If yes, please tell me how.

    Thanks

  • Saif Obeidat 79 posts 293 karma points
    Jul 08, 2019 @ 14:07
    Saif Obeidat
    103

    OK,

    Once the tinyMceConfig.config file has changed a little bit, I have done some changes on the commands code, as per the plugins available in :

    Text Color Plugin which provides specific And also colorpicker which enables users to pick any color they want

    Fullpage which provides multiple features such as font size and font family

    Follow the below steps to add those features is :

    • Go to tinyMceConfig.config file, and between the commands tag add the below code :
     <command alias="forecolor" name="Change Color" mode="Selection" />
     <command alias="fontselect" name="Change Font Family" mode="Selection" />
     <command alias="fontsizeselect" name="Change Font Size" mode="Selection" />
    
    • Add the below code between plugins tag
    <plugin>textcolor</plugin>
    <plugin>colorpicker</plugin>
    <plugin>fullpage</plugin>
    
    • Now from Umbraco - settings - datatypes - richtext editor, add the new properties, and do the same to the richtext editor property from its Document type
  • milkman matty 19 posts 100 karma points
    Sep 17, 2020 @ 01:29
    milkman matty
    0

    This is the best! you are a saint!

  • Mus'ab 155 posts 380 karma points notactivated
    Nov 19, 2019 @ 09:21
    Mus'ab
    1

    Thx a million you are the best

  • 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