Copied to clipboard

Flag this post as spam?

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


  • Faisal Mushtaq 19 posts 118 karma points
    Jan 29, 2015 @ 14:25
    Faisal Mushtaq
    0

    Adding BackColor in RichTextEditor.

    I customized RTE by adding following command in  "tinyMceConfig.config".

     <command>
          <umbracoAlias>mceBackColor</umbracoAlias>
          <icon>images/editor/backcolor.gif</icon>
          <tinyMceCommand value="" userInterface="true" frontendCommand="BackColor">backcolor</tinyMceCommand>
          <priority>80</priority>
    </command>

    Now If I go to Developer -> DataTypes -> RichTextEditor. BackColor is visible there with all other controls. and I have just checked BackColor CheckBox. Every thing is fine till now as it should be. But when I go to Content and Backcolor control is not displayed there.

    After some R&D I just put this also in Plugins.But this also not worked.

    <plugins>

    <plugin loadOnFrontend="true">backcolor</plugin>

    </plugins>

     

    NOTE: I did the same for "FORECOLOR" and that displayed on RTE successfully.

    What am i missing for "BACK COLOR" ? 

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jan 29, 2015 @ 16:28
    Jan Skovgaard
    100

    Hi Faisal

    Have you tried incrementing the version attribute in the /config/ClientDependency.config file and then recycling the app pool?

    /Jan

  • Faisal Mushtaq 19 posts 118 karma points
    Feb 02, 2015 @ 11:59
    Faisal Mushtaq
    0

    Hi Jan,

    Thanks for your answer.

    Every thing was fine. Umbraco Caching was causing problem. What i did, I republished the entire site content, and it worked for me.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 02, 2015 @ 17:05
    Jan Skovgaard
    1

    Hi Faisal

    Good to hear you got it sorted.

    Ok, but republishing the entire site content is just updating the xml cache in /App_Data/umbraco.config, which represents the published content. So this is really only content related.

    The approach I mentioned is clearing the backoffice cache - Just to make it clear, which method does what :)

    /Jan

  • Faisal Mushtaq 19 posts 118 karma points
    Feb 03, 2015 @ 07:59
    Faisal Mushtaq
    0

    Hi Jan,

    You are right. Thanks for clearing the difference between these two.  :)  Much Appreciated.

Please Sign in or register to post replies

Write your reply to:

Draft