Adding tables in jHtmlArea

2019-07-01 14:58发布

问题:

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