【发布时间】:2018-10-25 11:04:29
【问题描述】:
我注意到 CMSParagraphComponent 的 content 属性可以使用 RichTextBox 进行编辑,如下图所示:
我想以相同的方式编辑我的自定义属性(使用描述的 RichTextBox)。我该怎么做?
我尝试配置 backoffice-config.xml 以使用所见即所得:
<context merge-by="type" type="MyType" component="editor-area" module="moduleBackoffice">
<editorArea:editorArea xmlns:editorArea="http://www.hybris.com/cockpitng/component/editorArea">
<editorArea:tab merge-mode="replace" name="hmc.properties">
<editorArea:section name="hmc.properties">
<editorArea:attribute
editor="com.hybris.cockpitng.editor.localized(com.hybris.cockpitng.editor.wysiwyg)"
qualifier="customStringAttribute"/>
</editorArea:section>
</editorArea:tab>
</editorArea:editorArea>
</context>
但这仅反映在后台,对 SmartEdit 没有影响。
如何在 smartEdit 中使用 RichTextBox?
Hybris 版本:6.7.0.3
【问题讨论】:
标签: hybris