gpt4 book ai didi

editor - Sitecore 富文本 Html 编辑器配置文件 - 设置全局默认值

转载 作者:行者123 更新时间:2023-12-03 14:40:26 24 4
gpt4 key购买 nike

好吧,我不敢相信这在任何地方都找不到,所以我在问这个问题。

有没有办法在 Sitecore 中设置默认的 Html 编辑器配置文件,以便我没有覆盖每个富文本字段上的源字段?

例如我想让它成为 Html 编辑器的默认选项:

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

最佳答案

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

您可以将值更改为 web.config 中默认编辑器的路径。这将在未定义源的所有字段中更改。

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

关于editor - Sitecore 富文本 Html 编辑器配置文件 - 设置全局默认值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2490004/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com