Solved

tinyMCE inserts a paragrph all by itself

Posted on 2014-03-19
3
200 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 108

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 108

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now