У меня есть проект веб-форм ASP.NET, и я хочу, чтобы fckeditor использовал таблицу стилей сайта, чтобы люди без знаний HTML могли просматривать сайт и вносить изменения.
Вот мойтекущий код:
<fckeditorv2:FCKeditor runat="server" ID="txtPageContent" Height="600" BasePath="~/FCKeditor/" ForceSimpleAmpersand="false" FormatOutput="false" EditorAreaCSS="../App_Themes/Professional/master.css"></fckeditorv2:FCKeditor>
Как видите, я установил свойство EditorAreaCSS, но оно по-прежнему не поддерживает стили.
Вместо ../App_Themes I 'мы пробовали ~ / App_Themes и / App_Themes, но ничего.
Таблица стилей, безусловно, существует, и я попытался установить ее как в коде, так и в файле ASPX.
При просмотреисточник, я получаю это в скрытом поле, которое делает fckeditor:
<input type="hidden" id="ctl00_contentMain_txtPageContent___Config" value="ForceSimpleAmpersand=false&EditorAreaCSS=../App_Themes/Professional/main.css&FormatOutput=false&HtmlEncodeOutput=true" /><iframe id="ctl00_contentMain_txtPageContent___Frame" src="/eJs.Web/FCKeditor/editor/fckeditor.html?InstanceName=ctl00_contentMain_txtPageContent&Toolbar=Default" width="100%" height="600px" frameborder="no" scrolling="no">
Любые идеи будут наиболее оценены.