I am using the latest version of CKEditor with Cold Fusion 9.
All of my database entries show a question mark inside a black box at the beginning.
I have a simple form with one textfield to test this out, and it still happens. It seems like a line break is being entered followed by a tab.
If I type the word test then click Source this is what it looks like.
<p>
test</p>
Any thoughts on how to fix this?
Thanks
All of my database entries show a question mark inside a black box at the beginning.
I have a simple form with one textfield to test this out, and it still happens. It seems like a line break is being entered followed by a tab.
If I type the word test then click Source this is what it looks like.
<p>
test</p>
Any thoughts on how to fix this?
Thanks
Re: Odd characters being inserted
If <p> is causing problems in your database you can change it to <div> by adding the following code to your config.js file in the ckeditor root folder
If you prefer not to wrap your text in anything, you can add this code:
The latter isn't recommended. More on on this in our API here.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: Odd characters being inserted
I think that his question is about the new line and indent used in the source formatting instead of the wrapping <p>, so he should read this topic: http://docs.cksource.com/CKEditor_3.x/H ... TML_Output
Re: Odd characters being inserted
This was exactly what I needed.
I understand that it makes the code more readable, but it is inserting these characters into the database too.
Anyhow, I added the fix you provided the link to.
Thank you.