-
Notifications
You must be signed in to change notification settings - Fork 1
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
✨(forum) enables latex mathematical syntax #277
Conversation
1a58937
to
18b28a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think to add a button within the toolbar to add formula ?
yes i think it's a good idea, maybe I can add it in another PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some nitpicks then LGTM ✅ !
I opened an issue to not forget this point 😉 |
cf111d9
to
a3110d1
Compare
The repository containing the list of valid emojis has just got transformed into a monorepo causing the old url to be obsolete.
Historically code-editor plugin was added to ease the edition of programming language in a code-block in draft-js : - the use of the`tab` button was keeping the user in the draft-js code-block - an extra bloc was added once we were in the code-block so the user could exit it without adding one himself. Unfortunately, using other plugins that need to use the keyboard event, it appears to be in conflict. As a matter of fact, adding an extra block is not so important, as user can still exit the block using the back arrow key and the use of the tab is not that wise as it's not a good manner for accessibility, so we finally decided to just delete the use of this fork and keep the normal behavior of draft-js.
Using katex, we enable latex mathematical syntax in draft.js to write equations in forums. In draft.js press $ for starting Inline TeX, to write the $ character, type \$, and Press CMD + M for starting Tex Block
Purpose
Using katex, we enable latex mathematical syntax in draft.js to write equations in forums.
In draft.js press $ for starting Inline TeX and to write the $ character, type $
Proposal
Enregistrement.de.l.ecran.2022-12-16.a.16.08.37.mov