I’m getting a different error when using flexible content in conjunction with the WYSIWYG.
Uncaught TypeError: Cannot read property 'canvas' of undefined
in the quicktags functionality.
Enabling/disabling SCRIPT_DEBUG fixes the issue which is strange.