开发者

Sitecore Rich Text Html Editor Profile - set global default

OK I can't开发者_StackOverflow中文版 believe this can't be found anywhere so I'm asking the question.

Is there a way to set the default Html Editor Profile in Sitecore so I don't have the override the Source field on each individual Rich Text field?

e.g. I want to make this the default option for the Html editor:

/sitecore/system/Settings/Html Editor Profiles/Rich Text Medium


Its an old question but here is the solution I found in Sitecore 6.5 - I was looking to do the same thing in 6.5:

You can change the value to the path of your default editor in the web.config. This will change is across all fields where the source is not defined.

<!--  HTML EDITOR DEFAULT PROFILE
      Path to the default html editor profile.
      Default value: /sitecore/system/Settings/Html Editor Profiles/Rich Text Default
-->
<setting name="HtmlEditor.DefaultProfile" value="/sitecore/system/Settings/Html Editor Profiles/Rich Text Default"/>


It seems to fall back to the "/sitecore/system/Settings/Html Editor Profiles/Rich Text Default" in case the source is not defined. Thus, if you try to modify this default profile, every RTE field will obtain these modifications by default, without specifying the source.

Never tried it myself, though...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜