shota-f
shota-f
Document is here(https://craft.js.org/docs/api/useEditor#creating-new-nodes) This is simple example. ```demo.tsx import { Editor, Element, Frame, UserComponent, useEditor } from "@craftjs/core" const Text: UserComponent = ({ children }) => { return {children} }...
If you have JSON(string), you can use deserialize method in Editor-actions in place you want to load. This is very simple example. try: 1. click Save button(probably equivalent to the...
I found name, displayName and resolver-key(important). Document is heare(https://craft.js.org/docs/api/user-component). It seems like the updates are not keeping up. However, the type definitions(UserComponent) of code-base does not betray. This is simple...