Posting TinyMCE data to database
-
Hello all,
I’m not sure if this is the right place to ask such a question but…
I’m creating a plugin and I’m utilizing the TinyMCE editor. I have it working but when I post the data to the database it doesn’t carry over the \n or line breaks?
This is how I incorporate the editor in my plugin. I use the $name as a means to pass the data to the database… not sure if that’s the correct way to send the data to the database? Any help would be great.
<?php the_editor($pageInfo->html, $name = 'editor'); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Posting TinyMCE data to database’ is closed to new replies.