Add raw markdown mode toggle to toolbar#543
Draft
aviflombaum wants to merge 1 commit intobasecamp:mainfrom
Draft
Add raw markdown mode toggle to toolbar#543aviflombaum wants to merge 1 commit intobasecamp:mainfrom
aviflombaum wants to merge 1 commit intobasecamp:mainfrom
Conversation
- Toggle between rich text and raw markdown editing via toolbar button - Uses Lexical's built-in $convertToMarkdownString/$convertFromMarkdownString - Button shows pressed state when in markdown mode - Form submit syncs markdown to HTML before submission - Handles Turbo cache by resetting to rich text mode
Author
|
There is a slight issue tbh. In theory, when you are in Raw Markdown mode, the Lexxy toolbar should still work by inserting proper markdown syntax. Once in raw markdown, the Lexxy toolbar won't add markdown syntax to the plain text. Maybe that's okay, but it is certainly something we could add. |
|
Stoked to see this @aviflombaum. Hope it gets merged, or some version of it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Raw Markdown Support