Feature Request: Toggle between parsed and raw Markdown #7461
Closed
Szorcu
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
|
I think this is out of scope for Tiptap. Tiptap is meant as a rich-text editor, not a inline markdown editor. What you're looking for is a custom implementation where Tiptap is replaced either with a simple People very often confuse Tiptap with a code-based Markdown editor, so I want to make sure to clear up that confusion. It's also why Marijn separated ProseMirror from CodeMirror. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
It would be great to have an official way to toggle between parsed and raw Markdown inside a single TipTap editor.
Today, this requires rendering a separate input for the raw Markdown view and converting back and forth, which means losing core TipTap features in raw mode (history, undo/redo, keymaps, extensions, etc.).
This could potentially be exposed as a simple editor option, e.g. a
contentTypelikeraw/string, allowing the same editor instance to switch between parsed and raw Markdown views.Use Case
Some of our clients explicitly request this feature. For certain users, editing raw Markdown is faster and more convenient, while others prefer the parsed view. Being able to toggle between both is an important requirement for us.
Type
New Tiptap API
Beta Was this translation helpful? Give feedback.
All reactions