Solved

tinyMCE inserts a paragrph all by itself

Posted on 2014-03-19
3
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

728 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