Created
April 23, 2025 14:31
-
-
Save xavier-lc/c479f35eac8eb0eae012bb72010717c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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