-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ACF standard wysiwyg editor (#1186)
ACF is destroying HTML elements in their `initializeEditor` code. This results in QTX hooks pointing to detached HTML elements that no longer exist in the document, breaking the LSB switch. See: AdvancedCustomFields/acf#767 Change the main i18n configuration to filter out any `acf-editor` so that the hooks are not created too soon. Delaye them to the `wysiwyg_tinymce_settings` filter which also sets the mceInit callback for the visual mode.
- Loading branch information
Showing
4 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters