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

External Style Sheet

1 Answer 63 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jamie Walker
Top achievements
Rank 1
Jamie Walker asked on 01 Jun 2010, 09:27 PM
I'm attempting to use the Editor to manage content from a web site with a different URL than the site the Editor is hosted in.  I'd like to have the CSS styles drop-down list available styles from that external style sheet and also have that style sheet be applied to the content within the Editor so that it is displayed with the look-and-feel of the web site; however, based on some of the posts on this forum, it doesn't sound like the Editor can use an external style sheet on a different domain.  Is there a simple way to programmatically read the style sheet and add it to the CSS drop-down as well as apply it to the content area?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 04 Jun 2010, 11:51 AM
Hi Jamie,

To solve the issue, you should come up with some server scheme that requests the files from the remote server, and then serves them to the browser - so that everything on the editor's page originates from the same server. This seems to be the only way to achieve your scenario.

This issue is discussed in the RadEditor forums listed on this page: http://www.telerik.com/community/forums/search.aspx?rtf=Forum&fid=239&start=0&q=cssfiles%2bdomain

The issue only occurs in RadEditor Classic. See this forum thread: CssFiles getting css files from external files.


Greetings,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
Jamie Walker
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or