在CQ5上启用表插件功能

时间:2013-08-01 07:19:22

标签: adobe cq5 wcm

我现在正在处理一项任务,我需要显示“表格”插件的现有功能。但是,我很难实现它。在下面使用此代码时,我只能获得表属性功能。这是我在richtext编辑器中唯一显示的工具/图标。有人可以帮我启用/显示其他功能/图标,例如(insertcolumn,insertrow等)吗?

                <tableField jcr:primaryType="cq:Widget" xtype="richtext">
                    <rtePlugins jcr:primaryType="nt:unstructured">
                        <table jcr:primaryType="nt:unstructured" features="*" />
                    </rtePlugins>
                </tableField>

我试过这样做(下面),但我仍然失败了。

                <tableField jcr:primaryType="cq:Widget" xtype="richtext">
                    <rtePlugins jcr:primaryType="nt:unstructured">
                        <table jcr:primaryType="nt:unstructured" features="[insertcolumn,insertrow]" />
                    </rtePlugins>
                </tableField>

http://dev.day.com/docs/en/cq/current/administering/configuring_rich_text_editor.html

1 个答案:

答案 0 :(得分:0)

这是表插件提供的唯一工具栏按钮。要使用其他功能,请右键单击表本身:

table context menu