Jump to content

Recommended Posts

Hello,

 

I built an email opt in that stores email addresses in MySQL, and now I have to build an email application that will allow for easy emailing to everyone on the list. To make things harder, I need to add in a text editor (a lot like the one we use to post these messages) that allows for character formatting. I know there are places where  can just download all the code, but I'd really like to build this from scratch.

 

Can anyone point me in the right direction as to how I would go about creating this? Will I need to use AJAX?

 

Thanks in advance for any help!

Link to comment
https://forums.phpfreaks.com/topic/103355-solved-whats-your-opinion/
Share on other sites

what you are trying to build is called a RTE(rich text editor) you dont need ajax at all its all javascripting.

 

You will need to build something that will dynamically change your textarea into a text area that with buttons. Try looking up javascript DOM for this functionality. for the buttons you will need to create events.

Building your rich text editor is going to be a lot of work so good luck with it. If you get stuck with building something like that try looking up tinyMCE or FCKeditor at least you will have an example for what you are building.

 

Hope that helps

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.