ContentBlock RadEditor tools and toolbars: ApplyCss not show

Posted by Community Admin on 04-Aug-2018 14:10

ContentBlock RadEditor tools and toolbars: ApplyCss not showing custom options

All Replies

Posted by Community Admin on 03-Apr-2012 00:00

Hi there, 

This issue is for Sitefinity 4.4. 
I've followed the instructions on this page: www.sitefinity.com/.../customizing_the_sitefinity_wysiwyg_editor.aspx
But I don't see my custom classes at all. I've cleared my cache, restarted IIS and still nothing. 

Mapping the tools file to a custom location using the Administration>Settings>Advanced>Appearance>StandardEditorConfiguration worked, because I can add and remove different tools. 

Then I added the following to the tools file: 

<root>
   <tools name="MainToolbar">
      ...
      <tool name="ApplyClass" />
      ...
   </tools>
   <tools name="other">
      ...
   </tools>
</root>

This worked, the apply css drop down appears with a single option "Clear Class". 

Then I added the next section: 
<root>
   <tools name="MainToolbar">
      ...
      <tool name="ApplyClass" />
      ...
   </tools>
   <tools name="other">
      ...
   </tools>
  <classes>
    <class name="Heading Part" value=".headingThin" />
    <class name="Images Class" value=".img" />
    <class name="My Red Text" value=".redText" />
  </classes>
</root>

Restarted IIS cleared cache, nothing. My custom classes don't appear. 

Then I added the following: 
<root>
   <tools name="MainToolbar">
      ...
      <tool name="ApplyClass" />
      ...
   </tools>
   <tools name="other">
      ...
   </tools>
  <classes>
    <class name="Heading Part" value=".headingThin" />
    <class name="Images Class" value=".img" />
    <class name="My Red Text" value=".redText" />
  </classes>
  <cssFiles>
    <item name="~/Sitefinity/WebsiteTemplates/Template2012/App_Themes/CorporateTheme/Global/00editorStyles.css" />
  </cssFiles>
</root>

This did nothing at all. 

Where am I going wrong? 

Thanks,
Jacques

Posted by Community Admin on 27-Apr-2012 00:00

Can anybody help me with this? 

I'm looking at: 
http://www.sitefinity.com/blogs/grishakaranikolov/posts/11-07-25/customizing_the_sitefinity_wysiwyg_editor.aspx 
http://www.telerik.com/help/aspnet-ajax/editor-css-styles.html 

But none of this seems to work in Sitefinity 4.4. 

The custom toolsfile is definitely taking effect because I can move tools around and the ApplyCSS drop down comes up, but it doesn't populate with anything other than clear class. 

?

Posted by Community Admin on 08-Apr-2013 00:00

Ever solve this?...I have it borked on 2 sites, put in another ticket on it...but just curious

Posted by Community Admin on 08-Apr-2013 00:00

Hi Steve,

If I remember correctly, this was actually a bug that appeared to only affect Firefox. When I tested in IE, Safari or Chrome it worked fine.

Are you using Firefox?

Regards,
Jacques

Posted by Community Admin on 08-Apr-2013 00:00

I would be using FF, thanks!

...still a bug then all this time later

Posted by Community Admin on 08-Apr-2013 00:00

Yip unfortunately.

No problem.

This thread is closed