Solved

tinyMCE inserts a paragrph all by itself

Posted on 2014-03-19
3
203 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 110

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 110

Expert Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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 four methods for overlaying images in a container on a web page
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

749 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