Skip to content

Instantly share code, notes, and snippets.

@xavier-lc
Created April 23, 2025 14:31
Show Gist options
  • Save xavier-lc/c479f35eac8eb0eae012bb72010717c4 to your computer and use it in GitHub Desktop.
Save xavier-lc/c479f35eac8eb0eae012bb72010717c4 to your computer and use it in GitHub Desktop.
diff --git a/client/state/selectors/should-load-gutenframe.js b/client/state/selectors/should-load-gutenframe.js
index c4e653f8836..484a82b2329 100644
--- a/client/state/selectors/should-load-gutenframe.js
+++ b/client/state/selectors/should-load-gutenframe.js
@@ -1,8 +1,6 @@
import { isEligibleForGutenframe } from 'calypso/state/gutenberg-iframe-eligible/is-eligible-for-gutenframe';
import { getPreferredEditorView } from 'calypso/state/selectors/get-preferred-editor-view';
-export const shouldLoadGutenframe = ( state, siteId, postType = 'post' ) =>
- isEligibleForGutenframe( state, siteId ) &&
- getPreferredEditorView( state, siteId, postType ) === 'default';
+export const shouldLoadGutenframe = ( state, siteId, postType = 'post' ) => true;
export default shouldLoadGutenframe;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment