prosemirror-math icon indicating copy to clipboard operation
prosemirror-math copied to clipboard

Export Default Parse Rules

Open phxtho opened this issue 3 years ago • 0 comments

What

Added default parse rule plugins to the export of the package

Why

Whilst converting the prosemirror-math to a remirror extension. I noticed in math-schema.ts that defaultInlineMathParseRules where being destructured into the schema

parseDOM: [{ tag: "math-inline" },...defaultInlineMathParseRules]

Other stuff

  1. The remirror extension
  2. Judging from the snippets in attempts to support tiptap I think this change will help with adding parse rules to other prosemirror based editors #27

phxtho avatar Dec 22 '21 23:12 phxtho