Schema declarations for the Nib editor, a ProseMirror-based WYSIWYG editor. Current stable version is 2.4.7. Provides predefined nodes (paragraph, heading, list, image, code block, hard break, text) and marks (strong, em, link, code) used by Nib editor. Part of a modular ecosystem with separate core and schema packages. Lightweight and focused, unlike larger schema definitions like ProseMirror's example-schema. Released on npm and updated as Nib evolves.
npm install nib-schemaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import the schema, access nodes and marks, and initialize a ProseMirror editor with it.
Install peer dependencies explicitly: npm install prosemirror-model prosemirror-state prosemirror-view
Use named import: import { schema } from 'nib-schema'npm install prosemirror-model
Change to named import: import { schema } from 'nib-schema'