Sitecore Rich Text HTML编辑器配置文件-设置全局默认值 [英] Sitecore Rich Text Html Editor Profile - set global default

查看:128
本文介绍了Sitecore Rich Text HTML编辑器配置文件-设置全局默认值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我不敢相信在任何地方都找不到它。

OK I can't believe this can't be found anywhere so I'm asking the question.

有没有办法设置默认的HTML编辑器配置文件在Sitecore中,因此我没有在每个单独的Rich Text字段上覆盖Source字段吗?

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?

例如我想将此设置为HTML编辑器的默认选项:

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

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


推荐答案

这是一个老问题,但这是我的解决方案在Sitecore 6.5中找到-我正在6.5中做同样的事情:

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:

您可以在web.config中将值更改为默认编辑器的路径。

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"/>

这篇关于Sitecore Rich Text HTML编辑器配置文件-设置全局默认值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆