poleposters Posted September 26, 2008 Share Posted September 26, 2008 Hi, I'm looking for a really simple HTML text editor. I've been using FCKeditor and its overkill for what I need. Bsically I need my users to be able to input text and have the editor include the <p> tags so that I can split the text into paragraphs. Can anybody suggest a good editor for this purpose? Thanks. Link to comment https://forums.phpfreaks.com/topic/125886-a-really-simple-html-text-editor/ Share on other sites More sharing options...
redarrow Posted September 26, 2008 Share Posted September 26, 2008 whena user inputs date you then use the nl2br() funtion to see the info with brakes..... Link to comment https://forums.phpfreaks.com/topic/125886-a-really-simple-html-text-editor/#findComment-650953 Share on other sites More sharing options...
poleposters Posted September 26, 2008 Author Share Posted September 26, 2008 Thanks! I never knew you could do it. Is there a way to turn the new lines into paragraphs? ie replace the breaks? I could us the string replace function but how would I insert the opening tags? Thanks. Link to comment https://forums.phpfreaks.com/topic/125886-a-really-simple-html-text-editor/#findComment-651101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.