Adding tables in jHtmlArea

只愿长相守 提交于 2019-12-10 21:59:46

问题


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.


回答1:


Try this code

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

jhtmlarea wysiwyg editor - Adding Table



来源:https://stackoverflow.com/questions/2097559/adding-tables-in-jhtmlarea

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!