Hello.I have used ContentAreaCssFile but i see that it's not applied in the preview area.
Any ideas?
2 Answers, 1 is accepted
0
Accepted
Rumen
Telerik team
answered on 01 Jul 2010, 08:39 AM
Hi Tasos,
The observed behavior is by design. You can achieve your scenario using one of these ways:
1) Set CssFiles property or
2) Enable the contentArea.css link in Preview mode:
case4: //enable the contentarea.css file in Preview mode
setTimeout(function()
{
varlink = head.getElementsByTagName("link")[0];
link.disabled = false;
}, 100);
break;
}
}
</script>
This solution is based on this article: http://www.telerik.com/support/kb/aspnet-ajax/editor/applying-external-stylesheet-to-the-content-of-radeditor-in-preview-mode.aspx
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