使用 Dojo 富文本编辑器提交表单
有人知道如何提交包含 Dojo 富文本编辑器的表单吗?
我尝试将“name”属性添加到用 dojoType="dijit.Editor" 装饰的元素中,但是,我在接收过程中没有看到任何 HTML。
我已经检查了文档,但没有看到任何明确的示例(除了将相关表单的提交事件与另一个函数连接,该函数使用富文本编辑器的“值”设置隐藏输入的数据” )
我认为必须有一些“更简单”的方法来做到这一点?
Does anyone out there know how to submit a form that contains a Dojo Rich Text Editor?
I've tried adding the "name" attribute to my element that is decorated with dojoType="dijit.Editor", however, I don't see any of the HTML on my receiving process.
I've checked the documentation and I don't see any clear example (other than connecting the on submit event of the form in question with another function that sets the data of a hidden input with the "value" of the Rich Text Editor").
I would assume there has to be some "easier" way to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里我能够将值发送到服务器,并且能够在提交的值中重新显示作为编辑器的初始显示值。
Here im able to send the value to the server, and able to redisplay in the submitted value as intial display value for the Editor.