@barocss/math-editor-gutenberg
v1.0.4
Published
Barocss math editing integration for WordPress Gutenberg.
Maintainers
Readme
@barocss/math-editor-gutenberg
Math editing for WordPress Gutenberg. Install alongside @barocss/math-editor and the host editor SDK.
This workspace package owns its source and tests. This package ships generated JavaScript, TypeScript declarations, and styles. Its host SDK and @barocss/math-editor remain external peers.
Install
npm install @barocss/math-editor-gutenberg @barocss/math-editor \
@wordpress/blocks @wordpress/block-editor @wordpress/data @wordpress/element react react-domInstall this package, the core, and the host dependencies listed in peerDependencies. Import the adapter from @barocss/math-editor-gutenberg, common helpers from @barocss/math-editor-gutenberg/shared, and styles from @barocss/math-editor-gutenberg/style.css. Also load @barocss/math-editor/style.css.
All math editor packages · Integration guide · Release preparation
The documentation and unified editor samples are hosted at math-editor.barocss.com. Host SDK versions are listed in peerDependencies.
Development
Workspace exports, main and types point to src/, so apps import this
package without building it first. publishConfig overrides those fields with
dist/ paths for npm consumers. The release pipeline validates the packed paths.
This package owns its host implementation in src/gutenberg.ts, its tests in
test/, and its TypeScript build configuration. From the repository root:
pnpm --filter @barocss/math-editor-gutenberg build
pnpm --filter @barocss/math-editor-gutenberg type-check
pnpm --filter @barocss/math-editor-gutenberg testThe build includes private common helpers and their declarations while keeping
the math core and host SDKs external. Add a Changeset for this package when its
published behavior changes. Shared-helper changes must name every affected plugin.
The local pnpm release:math command publishes only new math package versions.
License
MIT. Copyright (c) 2026 barocss.com. See LICENSE, included in this package. The math-editor core is also MIT licensed. Host editor SDKs retain their own licenses.
