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

Function setCustomStyles

packages/grapesjs-react/src/context/EditorOptions.tsx:46–48  ·  view source on GitHub ↗
(customStyles)

Source from the content-addressed store, hash-verified

44 setState(state => ({ ...state, customRte }));
45 },
46 setCustomStyles(customStyles) {
47 setState(state => ({ ...state, customStyles }));
48 },
49 setCustomLayers(customLayers) {
50 setState(state => ({ ...state, customLayers }));
51 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected