扫码关注官方订阅号
我知道input是用name识别提交的,那富文本编辑器写成这样<script id="editor" type="text/plain" style="width:100%;height:400px;"></script>,name写在哪里,怎么让后台识别呢
你好***文档,看百度富文本index.html文件,有获取的代码,把他赋值给<input type="hidden">,ajax,或表单提交
可以textarea <textarea id="editor" name="content"> 然后再js里初始化 var ue = UE.getEditor('editor')
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
你好***文档,看百度富文本index.html文件,有获取的代码,把他赋值给<input type="hidden">,ajax,或表单提交
可以textarea <textarea id="editor" name="content"> 然后再js里初始化 var ue = UE.getEditor('editor')