我正在为Joomla 3.3.6开发一个模块。我想在xml文件的“可重复”字段中使用“编辑器”字段类型。我使用的代码如下:
<field
name="fpssibtos_img1subs"
type="Repeatable"
icon="list"
label="GLOBAL_SUBS"
description="GLOBAL_SUBS_DESC"
default="{'fpssibtos_img1sub':['test']}">
<fields name="params">
<fieldset hidden="true" name="fpssibtos_img1subs_modal" repeat="true">
<field
name="fpssibtos_img1sub"
default="test"
type="editor"
label="GLOBAL_SUB"
description="GLOBAL_SUB_DESC"
filter="safehtml"/>
</fieldset>
</fields>
</field>
问题是编辑器不可编辑,我的意思是你不能在其中输入任何内容。
我正在使用CKEditor,我将其更改为TinyMCE和其他人,但问题仍然存在。我知道可重复的表单字段仍然是错误的,但我认为你们中的一些人可能知道这个特定问题的解决方法。