discuz

推荐列表 站点导航

当前位置:首页 > 建站教程 > discuz >

discuz 表单调用门户编辑器

来源:网络整理  作者:网络  发布时间:2020-12-12 16:22
一直想用论坛编辑器,因为功能多些,无奈暂时做不到。从网上查了下,先拿门户的凑合着用。 这是前台页面用的。...
2.给<textarea>加个id="uchome-ttHtmlEditor"。



一直想用论坛编辑器,因为功能多些,无奈暂时做不到。从网上查了下,先拿门户的凑合着用。
遗憾的是不能上传图片,网上有方法,可惜我测试没成功。


这是前台页面用的。
3.在<textarea>下加

<iframe src='home.php?mod=editor&charset={CHARSET}&allowhtml=1&isportal=1' name='uchome-ifrHtmlEditor' id='uchome-ifrHtmlEditor' scrolling='no' style='height:400px;border:1px solid #C5C5C5;position:relative;border-radius: 3px;width: 100%;' border=0 frameborder=0 ></iframe> <iframe id="uploadframe" name="uploadframe" width="0" height="0" marginwidth="0" frameborder="0" src=http://www.ym97.com/discuz/"about:blank"></iframe>  
<!--{template home/editor_image_menu}--> <script type="text/javascript" src=http://www.ym97.com/discuz/"static/image/editor/editor_function.js"></script> <script type="text/JavaScript"> function validate(obj) { edit_save(); window.onbeforeunload = null; obj.form.submit(); return false; } </script>  
1.页面添加:

相关热词: 调用 discuz

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://www.juheyunku.com/jz/discuz/2987.shtml

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

discuz 表单调用门户编辑器

2020-12-12 编辑:网络

2.给<textarea>加个id="uchome-ttHtmlEditor"。



一直想用论坛编辑器,因为功能多些,无奈暂时做不到。从网上查了下,先拿门户的凑合着用。
遗憾的是不能上传图片,网上有方法,可惜我测试没成功。


这是前台页面用的。
3.在<textarea>下加

<iframe src='home.php?mod=editor&charset={CHARSET}&allowhtml=1&isportal=1' name='uchome-ifrHtmlEditor' id='uchome-ifrHtmlEditor' scrolling='no' style='height:400px;border:1px solid #C5C5C5;position:relative;border-radius: 3px;width: 100%;' border=0 frameborder=0 ></iframe> <iframe id="uploadframe" name="uploadframe" width="0" height="0" marginwidth="0" frameborder="0" src=http://www.ym97.com/discuz/"about:blank"></iframe>  
<!--{template home/editor_image_menu}--> <script type="text/javascript" src=http://www.ym97.com/discuz/"static/image/editor/editor_function.js"></script> <script type="text/JavaScript"> function validate(obj) { edit_save(); window.onbeforeunload = null; obj.form.submit(); return false; } </script>  
1.页面添加:

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://www.juheyunku.com/jz/discuz/2987.shtml

相关文章

风云图片

推荐阅读

返回discuz频道首页