Hello,
Our firm recently began integrating CKEditor with our application, but we have run into a few persistent problems.
1) How do you remove the message displaying html tags used within the editor instance, located at the very bottom of the instance?
2) Why does CKEditor insert a newline and tab after opening <p>'s? Is there any way to disable this?
3) We have found that if you load up a page where textareas are already populated with text (which CKEditor then attaches to), if you paste directly into an instance, and you have not put any space, line break, or other character between the old data and the pasted data, then CKEditor shows the new data with the old data but will, about 30% of the time, not return the new data when you make a call like CKEDITOR.instances.JobDescription.getData()...why is it missing the new data?
Any help will be greatly appreciated.
-guy8858
Our firm recently began integrating CKEditor with our application, but we have run into a few persistent problems.
1) How do you remove the message displaying html tags used within the editor instance, located at the very bottom of the instance?
2) Why does CKEditor insert a newline and tab after opening <p>'s? Is there any way to disable this?
3) We have found that if you load up a page where textareas are already populated with text (which CKEditor then attaches to), if you paste directly into an instance, and you have not put any space, line break, or other character between the old data and the pasted data, then CKEditor shows the new data with the old data but will, about 30% of the time, not return the new data when you make a call like CKEDITOR.instances.JobDescription.getData()...why is it missing the new data?
Any help will be greatly appreciated.
-guy8858
Re: having multiple issues
Although this is a feature in that it allows for easy selecting of possibly unselectable elements (such as a div) and I would strongly urge you to keep it enabled for that reason, this should do it:
Add this to the <head> of your document that contains CKEditor:
As for the other two, I am able to replicate the behavior mentioned in #2, but am unsure of why or how to disable it. Hopefully someone else can provide this information for you.
On #3, I will have to make a test case when I next have time and get back to you (unless someone beats me to the punch).
Re: having multiple issues
Re: having multiple issues
There is a simpler solution than hacking the editors css. In the config add this line
this will disable the plugin that show the html tags
Re: having multiple issues
Re: having multiple issues