Solid
ProseKit has first-class support for Solid via prosekit/solid.
Provider
Section titled “Provider”<ProseKit editor={editor}> provides context to its descendants. The component itself does not render any DOM, it only forwards children. Always wrap any UI that calls useEditor() in this provider.
useEditor
Section titled “useEditor”Returns an accessor () => Editor. Call it inside JSX or effects.
useEditorDerivedValue
Section titled “useEditorDerivedValue”Returns an accessor that re-runs derive on every editor state change.
useExtension, useKeymap, useDocChange, useStateUpdate
Section titled “useExtension, useKeymap, useDocChange, useStateUpdate”Same options shape as React. All four return void and bind to the calling component's lifecycle.
Custom node and mark views
Section titled “Custom node and mark views”defineSolidMarkView is the mark equivalent.