简体   繁体   English

Joomla不保存字段类型编辑器值

[英]Joomla does not save field type editor value

I have 3 types of editor in my Joomla website. 我的Joomla网站上有3种类型的编辑器。

  1. Editor - CodeMirror 编辑器-CodeMirror
  2. Editor - None (shows simple textarea) 编辑器-无(显示简单的文本区域)
  3. Editor - TinyMCE 编辑-TinyMCE

My question is that, except the "Editor - None" all other editor does not saves the value in a database. 我的问题是,除了“编辑器-无”以外,所有其他编辑器都不会将值保存在数据库中。 Actually, it doest not Post data from Editor field to jquery ajaxsubmit function which serialise all the data except editor field. 实际上,它不会将数据从“编辑器”字段发布到序列化除“编辑器”字段之外的所有数据的jquery ajaxsubmit函数。

Note : If I click on "Toggle Editor" button & goes to save then it works otherwise it doesn't. 注意:如果我单击“切换编辑器”按钮并保存,则它将起作用,否则将不起作用。

在此处输入图片说明

XML Code : XML代码:

<field name="application-form_Portfolio" type="editor" label="Portfolio" description="" class="" buttons="1" rows="400" cols="400" filter="safehtml"/>

Javascript file : Javascript文件:

http://malsup.github.io/jquery.form.js http://malsup.github.io/jquery.form.js

Is there any generic solution for it. 是否有任何通用的解决方案。

我不是Joomla开发人员,但您确定自己的发布方法可以访问TinyMCE的内容,而不仅可以访问编辑器元素本身吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM