Posted by igorik on February 14, 2009 at 2:11pm
Jump to:
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi
I found this ugly bug when I set processEntites to false - after then FCKeditor insert <p> </p> to start empty textarea in node/add or node editing, whatever.
if I switch off fckeditor from textarea I can see this element <p> </p>.
The big problem is that with this empty element, I can't test required textarea fields, because with this it always pass
btw doesn't matter if processEntites = false is set in drupal fckeditor.config.js or directly in fckconfig.js
thanks
Igorik
http://www.somvprahe.sk
Comments
#1
you can see the full empty element in title of this bug, in body it was changed to
<p> </p>#2
FCKeditor bug: http://dev.fckeditor.net/ticket/2154
#3
Actually we can handle this bug in the FCKeditor module.
#4
Great!
Probably is it what you wrote in previous bug, you will be catch empty tags?
thanks
Igorik
#5
Automatically closed -- issue fixed for 2 weeks with no activity.
#6
For the benefit of anyone else who runs into this:
The problem still exists in Fckeditor 2.6.5 (I mean the editor not the module). ...and occurs in Chrome as well as FireFox due to something going on in the gecko js file.
Anyway, the fix posted below does work, though I'm not sure yet what sort of side effects it might produce:
http://dev.fckeditor.net/ticket/1660
Since its hard to pick the fix out of all the stuff there, here's the relevant portion:
#7
OK... no, that's not a good idea. Result is lots and lots of
<p> </p>and other anomolies all over the place.Anybody know a real fix for this?
#8
Now, but it's really a FCkeditor problem, not a module problem
#9
Is there any way the module can compensate for the editor problem? They don't seem to be planning on fixing it over there.