Customization of Local builder #125
ZaheerNiazi007
started this conversation in
General
Replies: 1 comment 3 replies
-
|
hi, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! What an amazing builder! I really love it. However, I have a question—can we customize the local builder with built-in blocks? For example, I want the existing blocks to remain as they are, but I also want to add more, like this:
<ChaiBuilderLocal
// blocks={[
// {
// _type: "Heading",
// _id: "a",
// content: "This is a heading",
// styles: "#styles:,text-3xl font-bold",
// },
// ]}
onSave={async ({ blocks, providers, brandingOptions }) => {
console.log(blocks, providers, brandingOptions);
return true;
}}
/>
Is this possible, or can we only edit the SDK?"
Beta Was this translation helpful? Give feedback.
All reactions