How to use Layout feature in gutenberg playground ? #40038
Answered
by
kohheepeace
kohheepeace
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
kohheepeace
Jul 11, 2022
Replies: 1 comment
-
I need to pass const layout = useSetting("layout");
// console.log(layout) => { contentSize: "650px", wideSize: "1000px" }
<BlockList
__experimentalLayout={ layout }
/> Ref: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kohheepeace
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need to pass
__experimentalLayout
toBlockList
.Ref:
gutenberg/packages/edit-post/src/components/visual-editor/index.js
Line 259 in c80eb71