admin管理员组文章数量:1024678
I've designed a basic blog app using php. For the entry, I've used a html form and used < textarea > for the main article of the blog. All works fine. The data is saved to a database and called up by other pages.
However, I'd like to be able to add formatting to this so other users who don't know to wrap tags around things can also post an entry. The type of thing I'm after is pretty much EXACTLY what is used here to post replies etc.
I'm guessing this would be either Javascript or php, but I don't have a clue how to go about it.
I've designed a basic blog app using php. For the entry, I've used a html form and used < textarea > for the main article of the blog. All works fine. The data is saved to a database and called up by other pages.
However, I'd like to be able to add formatting to this so other users who don't know to wrap tags around things can also post an entry. The type of thing I'm after is pretty much EXACTLY what is used here to post replies etc.
I'm guessing this would be either Javascript or php, but I don't have a clue how to go about it.
Share Improve this question asked Jun 25, 2013 at 8:02 wadeywadey 933 silver badges10 bronze badges2 Answers
Reset to default 4Probably you are looking for a web based Javascript HTML WYSIWYG editor
, like
- TinyMCE
- NicEdit
- among many others...
Here you have a few ones:
- 10 best WYSIWYG Text and HTML Editors for Your Next Project
- 15 Really Useful Web-based HTML Editors
- Google: Javascript HTML WYSIWYG
Good luck!
You can use ckeditor or tiny mce editor
I've designed a basic blog app using php. For the entry, I've used a html form and used < textarea > for the main article of the blog. All works fine. The data is saved to a database and called up by other pages.
However, I'd like to be able to add formatting to this so other users who don't know to wrap tags around things can also post an entry. The type of thing I'm after is pretty much EXACTLY what is used here to post replies etc.
I'm guessing this would be either Javascript or php, but I don't have a clue how to go about it.
I've designed a basic blog app using php. For the entry, I've used a html form and used < textarea > for the main article of the blog. All works fine. The data is saved to a database and called up by other pages.
However, I'd like to be able to add formatting to this so other users who don't know to wrap tags around things can also post an entry. The type of thing I'm after is pretty much EXACTLY what is used here to post replies etc.
I'm guessing this would be either Javascript or php, but I don't have a clue how to go about it.
Share Improve this question asked Jun 25, 2013 at 8:02 wadeywadey 933 silver badges10 bronze badges2 Answers
Reset to default 4Probably you are looking for a web based Javascript HTML WYSIWYG editor
, like
- TinyMCE
- NicEdit
- among many others...
Here you have a few ones:
- 10 best WYSIWYG Text and HTML Editors for Your Next Project
- 15 Really Useful Web-based HTML Editors
- Google: Javascript HTML WYSIWYG
Good luck!
You can use ckeditor or tiny mce editor
本文标签: phpHow to format text in a textarea for blognews articleStack Overflow
版权声明:本文标题:php - How to format text in a textarea for blognews article - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745616576a2159328.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论