#RTE/Rich Text Editor LaTeX/KaTeX Support

4 messages · Page 1 of 1 (latest)

ornate steppe
#

I know RTE is deprecated but I really need LaTeX support for my editor. So far I have only been able to set it up when I use React-Quill manually but not for Mantine RTE and it seems TipTap does not have an extension for it either.

Hence, right now I seem to have only two main options:

  1. Add KaTeX into RTE: the "formula" button should appear in the toolbar
  2. Implement RTE's image handler myself: unsuccessful as it's challenging to get the file inputs and upload to my image database and somehow replace the base64 image input to the url resolved after the upload, so if someone can help on this it would be great as well!
  3. Maybe TipTap can somehow support KaTeX?
oak fern
ornate steppe
# oak fern I think your best chance is to use `@mantine/tiptap` and find extension that han...

Hi thanks for the response! I did check out @mantine/tiptap and TipTap but couldn't find any semblance of LaTeX extension or support unfortunately. Regarding @mantine/rte, I was wondering since it seems to support other modules [https://mantine.dev/others/rte/#extra-modules], whether or not it could work. If neither of these two options are plausible then I guess do you happen to know or know of a high-level guide on how to implement the image handler myself in React-Quill?

Quill based rich text editor

oak fern