-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Paste: make async, add LaTeX math mode handling #74492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
1 similar comment
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
|
Size Change: +1.58 kB (+0.05%) Total Size: 3.08 MB
ℹ️ View Unchanged
|
What?
Allows documents that contain delimited LaTeX math mode to be correctly pasted by converting these to the Math block or inline format.
Why?
We have a Math block and inline format, but when you paste document created outside of Gutenberg, the math is not converted.
How?
In order to use the LaTeX to MathML package, we must make the paste handler async. This could actually be a good thing: we could also lazy load the Markdown package to reduce the blocks module size and potentially use more and bigger modules to process pasted content (perhaps even allowing it to be extended).
Testing Instructions
WIP
Testing Instructions for Keyboard
Screenshots or screencast