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

Function up

packages/grapesjs-react/src/StylesProvider.tsx:40–45  ·  view source on GitHub ↗
({ container }: { container: HTMLElement })

Source from the content-addressed store, hash-verified

38 const event = Styles.events.custom;
39
40 const up = ({ container }: { container: HTMLElement }) => {
41 setPropState({
42 sectors: Styles.getSectors({ visible: true }),
43 Container: portalContainer(container)
44 });
45 };
46
47 editor.on(event, up);
48

Callers

nothing calls this directly

Calls 1

portalContainerFunction · 0.90

Tested by

no test coverage detected