@canvist/extension-text-align
TipTap's textAlign attribute, with Mod-Shift-l, e, r, and j, for canvist.
This package exports textAlign from @canvist/core/extras, so you can import it on its own, as TipTap ships each extension. It loads no WebAssembly: an engine package brings the module, and these extensions are in the full modules, @canvist/headless/full and @canvist/collab/full, so create the engine from one of those.
npm install @canvist/headless @canvist/extension-text-align
import { textAlign } from "@canvist/extension-text-align";
import { createEngine } from "@canvist/headless/full";
const engine = await createEngine([textAlign]);
The extension catalogue lists each extension's commands, queries, and keys.
License
Unlicense