The linkit button in TinyMCE doesn't work when in fullscreen. Upon research, I tracked this down to the fact that Drupal.wysiwyg.instances[editor.id].format on line 23 of editor_plugin.js is failing.
This is showing as undefined. Upon further research it is evident that the editor.id when in fullscreen is mce_fullscreen and this does not exist in the instances object. This causes the format to be undefined and fail.
I may have some time to work on this, but don't have a ton of TInyMCE experience for how to handle the seperate editor when in fullscreen.
If anyone has some input please let me know.
Comment | File | Size | Author |
---|---|---|---|
#2 | linkit-fullscreen-2782339-2-D7.patch | 1.7 KB | ccjjmartin |
Comments
Comment #2
ccjjmartin CreditAttribution: ccjjmartin as a volunteer commentedI tested this on a Panopoly distribution site and will have some related issues in WYSIWYG and Panopoly that are all required to fix this fully. From a linkit only perspective this works but WYSIWYG currently has issues in fullscreen mode and Panopoly has !important set on the z-index which makes it appear like this patch is broken.
Comment #3
ccjjmartin CreditAttribution: ccjjmartin as a volunteer commentedComment #4
ccjjmartin CreditAttribution: ccjjmartin as a volunteer commentedComment #6
anonThanks for reporting, patching.