Skip to content

[ZAMB-257] Add MathJax rich-text support to v1 - #560

Draft
ocorona92 wants to merge 1 commit into
mainfrom
codex/zamb-257-mathjax-rich-text-v1
Draft

ocorona92 wants to merge 1 commit into
mainfrom
codex/zamb-257-mathjax-rich-text-v1

Conversation

@ocorona92

Copy link
Copy Markdown
Collaborator

Summary

  • port the official MathJax rich-text plugin from [ZAMB-257] Add MathJax rich-text support #559 to Stacks Editor v1
  • preserve inline and display delimiters across Markdown and Rich Text modes
  • support live typing, Markdown paste, escaped dollars, and code spans
  • delegate typesetting and cleanup to host-provided callbacks

Context

This is the main/v1 counterpart to #559, following the two-branch release process. The StackOverflow integration will be submitted separately after the editor API is reviewed.

Validation

  • MathJax tests passed on v1, and the complete unit run passed 52/53 suites (1,135 tests); the remaining existing CI test assumes LF line endings and fails locally on Windows when reading CODEOWNERS
  • npm run lint — passed with two unrelated existing test warnings
  • npm run test:package — Webpack and TypeScript passed; the package harness then hit its existing Windows spawnSync npm ENOENT incompatibility
  • changeset validated as 1.1.0 → 1.2.0
  • the equivalent v0 package was manually verified on stackenterprise.local with MathJax 3.2.2

@changeset-bot

changeset-bot Bot commented Oct 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7df9119

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@stackoverflow/stacks-editor Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify

netlify Bot commented Oct 18, 2026

Copy link
Copy Markdown

✅ Deploy Preview for stacks-editor ready!

Name Link
🔨 Latest commit 7df9119
🔍 Latest deploy log https://app.netlify.com/projects/stacks-editor/deploys/6ad54c7def7ee09288ca8f95
😎 Deploy Preview https://deploy-preview-560--stacks-editor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant