You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the ability to format selected text as a code block in the Tiptap editor. The code block should also support syntax highlighting for various programming languages.
Requirements
Code Block Formatting:
When text is selected and the code block option is chosen, the selected text should be formatted as a code block.
Syntax Highlighting:
The code block should support syntax highlighting for different programming languages.
Highlight.js or a similar library should be used for syntax highlighting.
Menu Integration:
Add an option to format text as a code block in the editor's bubble menu or toolbar.