MCPcopy Create free account
hub / github.com/GrapesJS/react / setCustomBlocks

Function setCustomBlocks

packages/grapesjs-react/src/context/EditorOptions.tsx:40–42  ·  view source on GitHub ↗
(customBlocks)

Source from the content-addressed store, hash-verified

38 setState(state => ({ ...state, customAssets }));
39 },
40 setCustomBlocks(customBlocks) {
41 setState(state => ({ ...state, customBlocks }));
42 },
43 setCustomRte(customRte) {
44 setState(state => ({ ...state, customRte }));
45 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected