在jHtmlArea中添加表 [英] Adding tables in jHtmlArea

查看:59
本文介绍了在jHtmlArea中添加表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道让jHtmlArea支持表内容并允许用户向编辑器框中添加表/单元格/行的方法吗?它似乎不是该插件的标准功能.

Anyone know of a way of making jHtmlArea support table content, and allow the user to add tables/cells/rows to the editor box? It doesn't appear to be a standard feature for the plugin.

我希望我的用户能够在所见即所得编辑器中创建表.

I would like for my user to be able to create tables in the WYSIWYG editor.

推荐答案

尝试此代码

只需将#editor更改为您设置为文本区域的"id". 并插入任何样式(如果有).希望有帮助.

Just change #editor to the "id" you set to the textarea. and insert any styles if u have.Hope this helps.

jhtmlarea wysiwyg编辑器-添加表

这篇关于在jHtmlArea中添加表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆