@canvist/extension-hard-break
v0.2.2
Published
TipTap's `hardBreak` line break, with `Shift-Enter`, for canvist.
Downloads
277
Maintainers
Readme
@canvist/extension-hard-break
TipTap's hardBreak line break, with Shift-Enter, for canvist.
This package exports hardBreak from @canvist/core/extensions, so you can import it on its own, as TipTap ships each extension. It loads no WebAssembly: an engine package brings the module, and every one of them, from the StarterKit module @canvist/headless up, has these extensions.
npm install @canvist/headless @canvist/extension-hard-breakimport { hardBreak } from "@canvist/extension-hard-break";
import { createEngine } from "@canvist/headless";
const engine = await createEngine([hardBreak]);The extension catalogue lists each extension's commands, queries, and keys.
