Skip to main content
Version: Next

Math Plugin

Insert and edit formulas through a dialog-based math workflow.

Installation and Import​

import { MathPlugin } from "@editora/plugins";
// or: import { MathPlugin } from "@editora/plugins/math";

Usage​

const plugins = [MathPlugin()];

Command Matrix​

ActionCommandShortcutToolbar
Open math dialog / insert formulainsertMathMod-Shift-mInsert Math

Config Options​

This plugin does not expose plugin-level config options.

Behavior​

  • Supports inline and block math insertion
  • Includes preset formula templates (fractions, integrals, matrices, etc.)
  • Supports editing existing math nodes via dialog interaction

Validation Checklist​

  • Insert/edit flow preserves formula metadata
  • Inline/block rendering stays stable
  • Dark theme formula UI remains readable