lexical icon indicating copy to clipboard operation
lexical copied to clipboard

Add React MathType example

Open culpen90 opened this issue 5 months ago • 3 comments

Summary

  • Add a standalone React MathType example under examples/react-mathtype.
  • Store MathType formulas in a custom Lexical node so editor state remains authoritative.
  • Bridge MathType insert/edit callbacks into Lexical updates and document the example setup.

Fixes #7806.

Validation

  • corepack pnpm run typecheck from examples/react-mathtype
  • corepack pnpm run build from examples/react-mathtype
  • corepack pnpm exec prettier --check examples/react-mathtype
  • corepack pnpm exec eslint examples/react-mathtype --no-error-on-unmatched-pattern

culpen90 avatar Jun 13 '26 13:06 culpen90

Hi @culpen90!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

meta-cla[bot] avatar Jun 13 '26 13:06 meta-cla[bot]

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview, Comment Jun 21, 2026 1:40pm
lexical-playground Ready Ready Preview, Comment Jun 21, 2026 1:40pm

Request Review

vercel[bot] avatar Jun 13 '26 13:06 vercel[bot]

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

meta-cla[bot] avatar Jun 13 '26 14:06 meta-cla[bot]