Home  >  Article  >  Backend Development  >  在普通的textare中怎么添加一个表格形式,并将此表格原貌显示在页面中?

在普通的textare中怎么添加一个表格形式,并将此表格原貌显示在页面中?

WBOY
WBOYOriginal
2016-06-13 13:37:441117browse

在普通的textare中如何添加一个表格形式,并将此表格原貌显示在页面中??
想要向textare中添加一个表格,但是添加进去都不显示表格边框。。。。。。。。该如何设置????????

------解决方案--------------------
你是怎么添加的?
------解决方案--------------------
textarea只显示文本,table加进去,不解析的。你的是怎么解析出来的?
换成div或iframe不就好了?
------解决方案--------------------
textarea只显示文本。不能显示表格。如果你想做个网页编辑器。可以用ckeditor
------解决方案--------------------

探讨
textarea只显示文本。不能显示表格。如果你想做个网页编辑器。可以用ckeditor

------解决方案--------------------
编辑器其实是用的innerHTML,而不是textarea。
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn