Hi, I'm currently working on my own online html editor (Online WYSIWYG Editor) in php, I'm trying to figure out how i can insert <div> tag by click the button.
for sample that there is button called <div> on my toolbar above my html editor, and if person click button then it will insert <div> tag. my question is that how can i write that code to insert <div> tag!
please help me.
AM