In CKEditor 4.6.2 (currently bundled in Drupal 8) ACF is disabled by default, to make sure some of the special plugins work correctly. So for the record: I do not want to enable ACF and am not able to use allowedContent or disallowedContent. I'm trying to prevent some elements to be injected on paste from Word (like h1 and p[styles]).
To accomplish this, I'm trying to add these to pasteFilter which works perfectly on non-Word-pasted content, though when pasting from Word the pasteFilter seems to be ignored? Is this a bug?
So, how can I:
- Keep ACF disabled - In favor of special Drupal elements
- Keep
pastefromwordenabled - To detect special Word styling like indentation and lists. - Add additional filtering to all (including from Word) pastings - To remove some elements and attributes like
h1,style="font-family: Verdana"etc...