HomeUnityBlogs
 
 
georgemedia

Problem with orca forums TinyMCE

I noticed the same problem HERE on boonex as well.

When you hit return twice and try to carry on to a new line with a space between paragraphs, boonex inserts the <p>&nbsp;</p> code.

Of course that flat out doesn't work and the lines end up bunched together like you see in this post.

Is there a fix for that?

bad
-2
good
 
 

Comments

Stuart038
Stuart038(negative) 211 days agocomment permalink
 
Yes, I've noticed that. It is a pain having to edit just to sort that out.
 
bad
0
good
 
 
SidSpider
SidSpider 167 days agocomment permalink
 
I've just spent a day trying to figure out how to get the paragraphs to work properly. It seems it just affects Firefox, IE inserts the full <p>&nbsp;</p>

After playing around with a multitude of configurations in tinyMCE I think I have the solution.

In
orca/layout/base/xsl/canvas_init.xsl & orca/layout/base_en/xsl/canvas_init.xsl

locate the line that says :
entity_encoding : "raw",

and replace with

entity_encoding : "named",

This fixed the problem for me. You may have to alter the same line in other scripts where the tinyMCE editor is used, but I haven't looked yet.
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
georgemedia Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.467746019363