You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current version of Gutenberg ( 2.0.0 ), the action hook enqueue_block_assets is invoked even when using the Classic editor. This invokes jsforwpblocks_scripts() which enqueues the React Javascript which is incompatible with the Classic editor's TinyMCE. This results in TinyMCE failing to load.
I raised this in WordPress/gutenberg#4672 (comment)
Now I understand it better I'm considering whether or not to raise a separate issue on Gutenberg.
The text was updated successfully, but these errors were encountered:
To take see if the changes to the PHP register_block_type()'s $args parameter
makes it easier to safely register scripts and styles, without having to hook into the actions.
And if so, to determine the best way to change the code and build processes to support this mechanism.
With the current version of Gutenberg ( 2.0.0 ), the action hook
enqueue_block_assets
is invoked even when using the Classic editor. This invokesjsforwpblocks_scripts()
which enqueues the React Javascript which is incompatible with the Classic editor's TinyMCE. This results in TinyMCE failing to load.I raised this in WordPress/gutenberg#4672 (comment)
Now I understand it better I'm considering whether or not to raise a separate issue on Gutenberg.
The text was updated successfully, but these errors were encountered: