This is a migrated thread and some comments may be shown as answers.

Style button dropdown - CSS classes

1 Answer 86 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Carlos Angelo Mendoza
Top achievements
Rank 1
Carlos Angelo Mendoza asked on 25 Mar 2011, 08:19 PM

This is Carlos Mendoza from Accenture, US.

I’m not sure if this is also the same email address for requesting technical assistance so I’d appreciate it if you just forward to the correct group if so.

Our project purchased Telerik’s HTML editor product, and implemented it on our corporate web site, www.accenture.com

That web site is built on MOSS 2007. We have another web site, microsite.accenture.com, built in MOSS 2007 too, in which Telerik’s HTML editor is implemented in there too.

On the Microsite web site, Telerik’s toolbar is able to retrieve the site’s alternate CSS file (.css), and display the CSS classes defined inside the CSS file on the Style dropdown of Telerik’s toolbar, so they can be used by our end users. See attached screenshot below.

 

 

 

 

 

 

 

 

On the www.accenture.com web site, this is not happening on Telerik’s Style dropdown section.

Our clients would like the same behavior of the Style dropdown as the Microsites web site. Is there any configuration or line of code we should implement on the www.accenture.com platform so additional CSS classes defined on the site’s alternate CSS would appear on the Style dropdown of Telerik’s HTML editor toolbar?

 

Please advise.

 

I’d be glad to hop into a call if needed. Just tell me the telephone number of your technical support team.

 

Looking forward to hearing from you!

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 31 Mar 2011, 07:43 AM
Hi Carlos Angelo Mendoza,

I am assuming that you are using RadEditor for MOSS 5.x

Here is what to do:

1. Make sure that you have the same styles loaded in the page where the editor is used and in its content area. The following help article will help you to get a better understanding of what I am saying here: Defining custom CSS styles

2. By default the Apply Css Class dropdown is populated with all the style classes, which are loaded in the editor's content area. However you can control this by setting the classes collection in the respective ToolsFile.xml or ListToolsFile.xml, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder. Review the following online help article: CSS Styles.

If after reviewing the articles you have any further questions, I will be glad to answer them.

Kind regards,
Stanimir
the Telerik team
Tags
ToolBar
Asked by
Carlos Angelo Mendoza
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or