Berre Posted January 27, 2012 Share Posted January 27, 2012 First off, I have to say I'm completely lost and not sure if JS is the right path to take. Basically, what I want is being able to display formatted text in a text area. I'm trying to make a simple CMS and want text to be displayed with formatting while edited, instead of custom tags (for h1, h2, b, i, etc.) Can someone point me in the right direction for manipulating textarea formatting? Quote Link to comment https://forums.phpfreaks.com/topic/255885-textarea-with-formatted-text/ Share on other sites More sharing options...
Adam Posted January 27, 2012 Share Posted January 27, 2012 You're looking for a "WYSIWYG" editor. There's a few popular ones to choose from: http://en.wikipedia.org/wiki/HTML_editor#Online_editors I would advise against TinyMCE - from what I've seen it's not particularly well written. Quote Link to comment https://forums.phpfreaks.com/topic/255885-textarea-with-formatted-text/#findComment-1311714 Share on other sites More sharing options...
scootstah Posted January 27, 2012 Share Posted January 27, 2012 If you use jQuery, jwysiwyg is pretty good. If you need something with more features, try CKEditor. Quote Link to comment https://forums.phpfreaks.com/topic/255885-textarea-with-formatted-text/#findComment-1311724 Share on other sites More sharing options...
Berre Posted January 27, 2012 Author Share Posted January 27, 2012 Thanks, this is exactly what I was looking for Quote Link to comment https://forums.phpfreaks.com/topic/255885-textarea-with-formatted-text/#findComment-1311743 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.