i can see CKEDITOR.config.entities_processNumerical = true; working on a jsfiddle, when i call the editor like this:

<script>
	CKEDITOR.config.entities_processNumerical = true;
	CKEDITOR.replace( 'editor2', {
                extraPlugins: 'codemirror',
				allowedContent: true		
	});
</script>

( entities_processNumerical = true converts Zero-width spacecharacters to their HTML-entity, so they are visible in source mode).

But when i add it to my ckeditor profile's (/admin/config/content/ckeditor/edit/Full) Custom JavaScript configuration Textarea

config.allowedContent = true;
config.removeFormatTags = 'big,code,del,dfn,em,font,i,ins,kbd,q,s,samp,small,span,strike,tt,u,var';
config.format_tags = 'p;h2;h3;h4;h5;address';
config.entities_processNumerical = true;

it has no effect.
changing config.format_tags DOES apply.

Also added the config to sites/all/modules/ckeditor/ckeditor.config.js, without success...

Comments

wwalc’s picture

Did you try it together with:

config.entities = true;

?

sirtet’s picture

Not before, now i did. But this will turn everything into entities, it's not what i need.

config.entities_processNumerical = true; does work when i try it in a non-drupal place:
http://ckeditor.com/comment/129090#comment-129090

but in drupal, the code in Custom JavaScript configuration
seems not to execute: when i check in chrome's console, i can query it:

> CKEDITOR.config.entities
  true
> CKEDITOR.config.entities_processnumerical
  undefined

so i suspect there's a filter on this field, that allows only known settings, or something like that?