CKEditor with Disabled Apostrophe Conversion

in jQuery/Javascript/Tutorials & Samples

Hello!

I’m an instance of CKEditor that will not replace the character into ' and the character into " when you click on the “Source” button

CKEditor is by far, the best online text editor. I use it in all my projects that require a textbox with additional functionalities. I also use the CKEditor demo page to quickly convert rich text to HTML. However, the version on the demo page converts apostrophes and double-quotes into their ASCII representation, which is frustrating. Below is a version of CKEditor that will not automatically convert apostrophes and double-quotes.

For anybody wondering, I simply added the following line in the config.js file:

	// make sure that the ' and "" characters are left intact
	config.entities = false;
	config.entities_additional = '';
Tags:

Mifty Yusuf is a Montreal-based software developer who enjoys playing with new web technologies as well as comic books and illustrations. He beleives that, no matter what the question is, the answer is always Batman!

Leave a Reply

Your email address will not be published.

*

Latest from jQuery/Javascript

Go to Top