tmyonline Posted March 25, 2009 Share Posted March 25, 2009 Hi guys, I have created a form that allows people to send mails. I would like to incorporate an existing tool bar into this email form so that people can bold text, italize text, underline text, align left, align center, select text color, font-size, font-style, create bullets (ordered or unordered lists), insert links, images, smiley,..., similar to the tool bar of this email form that I'm typing in. Is there any JavaScript library or code snippet that offers such a tool bar and how to incorporate it to my email form ? Any ideas ? Thanks so much. Quote Link to comment https://forums.phpfreaks.com/topic/151055-how-to-get-a-toolbar-for-an-email-form/ Share on other sites More sharing options...
KevinM1 Posted March 25, 2009 Share Posted March 25, 2009 Hi guys, I have created a form that allows people to send mails. I would like to incorporate an existing tool bar into this email form so that people can bold text, italize text, underline text, align left, align center, select text color, font-size, font-style, create bullets (ordered or unordered lists), insert links, images, smiley,..., similar to the tool bar of this email form that I'm typing in. Is there any JavaScript library or code snippet that offers such a tool bar and how to incorporate it to my email form ? Any ideas ? Thanks so much. Hmm...I'm not sure if there's a JavaScript-only solution. Have you tried looking at website text editors like TinyMCE? You can embed it into your site (with a bit of work), and it should do what you want. Quote Link to comment https://forums.phpfreaks.com/topic/151055-how-to-get-a-toolbar-for-an-email-form/#findComment-793606 Share on other sites More sharing options...
JonnoTheDev Posted March 25, 2009 Share Posted March 25, 2009 http://www.fckeditor.net/ Quote Link to comment https://forums.phpfreaks.com/topic/151055-how-to-get-a-toolbar-for-an-email-form/#findComment-793607 Share on other sites More sharing options...
tmyonline Posted March 25, 2009 Author Share Posted March 25, 2009 Thanks Nightslyr, Johnson, thanks. I tried the FCKeditor before. It worked well locally on my machine but when I uploaded it to the server, there was a problem, can't recall what the error was. Maybe I'll try it again someday. In the meantime, I think the tool bar should be part of some JavaScript library because it's widely used. Hymn, I'm wondering if there is another one out there beside the FCKeditor. Quote Link to comment https://forums.phpfreaks.com/topic/151055-how-to-get-a-toolbar-for-an-email-form/#findComment-793629 Share on other sites More sharing options...
JonnoTheDev Posted March 25, 2009 Share Posted March 25, 2009 http://www.google.com/search?q=javascript+html+editor Quote Link to comment https://forums.phpfreaks.com/topic/151055-how-to-get-a-toolbar-for-an-email-form/#findComment-793675 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.