Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
wwalc CreditAttribution: wwalc commentedDid you try it together with:
?
Comment #2
sirtetNot 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:
so i suspect there's a filter on this field, that allows only known settings, or something like that?