check if Gutenberg is currently in use

How can I check if the editor that is currently being used is Gutenberg in a WordPress plugin?

I need this because Gutenberg lacks post_submitbox_misc_actions, so I need a fallback which will only be used if the current editor is Gutenberg.

Read more here:: check if Gutenberg is currently in use

Leave a Reply

Your email address will not be published. Required fields are marked *