Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一种在 HTML 或 PHP 中实现文本区域元素的方法,您可以在其中输入文本并对其应用样式,例如粗体、斜体、突出显示和颜色等。
就像我正在输入这个问题的那个。有人可以建议一些东西。
提前致谢..
这称为富文本编辑器,某些浏览器确实有内置的,但您也可以从库中获得它们。
http://en.wikipedia.org/wiki/Online_rich-text_editor
看看这个:http ://ckeditor.com/
我以前用过它,它真的很好。
这是另一篇关于如何使用它的文章:how to add or embed CKEditor in php page