prevent ckeditor to use html-entities

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

prevent ckeditor to use html-entities

Post by Jensensen »

Unlike fckeditor, ckeditor produces well-formatted html source code.
But by default it seems, ckeditor doesn't know to handle umlauts. One can find html-entities in the source code even of utf-8 encoded pages.

To prevent that ckeditor uses html-entities, add the following code

Code: Select all

config.entities = false;
into the file
/template/config/ckeditor/ckeditor.config.js

e.g.

Code: Select all

CKEDITOR.editorConfig = function( config )
{
	// Set CKEditor UI color
	config.uiColor = '#cccccc';
...


	config.entities = false;
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
Post Reply