Closed (fixed)
Project:
Editor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2015 at 16:15 UTC
Updated:
27 Oct 2015 at 18:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
loophole080 commentedSorry, not sure whether to log this here or on the Better Formats module issue queue! Also not sure what status to make this (fixed? so i have left as active).
I have not investigated the root cause of the issue, but disabling Better Formats module will restore full normal functionality for the CKEditor plugin.
Took me a couple of hours to track this down, so just logging here to save someone else the headache.
Comment #3
devin carlson commentedThanks for the detailed bug report.
The Better Formats module looks for filter.module's default process function and then injects its own process function immediately afterwards. Editor should probably implement
hook_module_implements_alter()to ensure that its own implementation ofhook_element_info_alter()always comes last, allowing other modules to act before switching out the default filter.module process function.Comment #4
devin carlson commentedTested #3 in combination with the Better Formats module and verified that it fixes the issue.
There could be additional compatibility issues between the modules, since editor.module's process function will always run last (which could wipe out alterations done by Better Formats) but those should be handled separately.