Solved

tinyMCE inserts a paragrph all by itself

Posted on 2014-03-19
3
202 Views
Last Modified: 2014-03-19
Using tinyMCE storing in a database I experience tinyMCE adds "<p>&nbsp;</p>" at the very end of the text to be saved by itself. Have tried tinyMCE's forum, no result.
Any of you experienced experts who know why it works this way?
0
Comment
Question by:lericson
  • 2
3 Comments
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39939761
TinyMCE has a lot of quirky things about it.  This is usually caused by the final "enter" after the last line of client input.  You can deliberately remove this artifact with program code if you want to.

I understand that the folks at Make.WordPress .org have TinyMCE upgrades on their short list of things to do for WP 3.9, so it might make sense to follow that development and see what they come up with.
0
 

Author Closing Comment

by:lericson
ID: 39941130
Thanks again, Ray!
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39941148
Thanks for the points and thanks for using EE.  Best regards as always, ~Ray
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question