Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[求助] 请教怎么将文本编辑器的功能加入自己的插件

[复制链接]
frkl008 发表于 2016-11-8 10:54:33 | 显示全部楼层 |阅读模式
<span style="font-weight:bold">图片描述</span><br/><textarea name="description" style="margin-left:168px;width:368px;height:158px"><?php echo $onlinepic['description'];?></textarea><br/>


下面是自己找的代码
<script type="text/javascript" language="javascript" src="{STATICURL}image/editor/editor_function.js?{VERHASH}"></script>         <textarea class="userData" name="content" id="uchome-ttHtmlEditor" style="height: 100%; width: 100%; display: none; border: 0px"></textarea>         <iframe src="home.php?mod=editor&charset={CHARSET}&allowhtml=1&isportal=0" name="uchome-ifrHtmlEditor" id="uchome-ifrHtmlEditor" scrolling="no" border="0" frameborder="0" style="width:700px;height:400px;border:1px solid #C5C5C5;position:relative;"></iframe>原效果 ziti.png 加入上面的代码后不能正常使用,改色,加粗后无法保存到页面 无标题2.png 请教怎么在图片描述下面的文本框加入完整的文本编辑器?功能少点,能用就行 无标题3.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-9 18:05 , Processed in 0.106756 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表