How to implement a Notion style editor with tiptap? #4746
Unanswered
jagan-blip
asked this question in
Questions & Help
Replies: 3 comments 13 replies
-
You can see if my attempt can solve your problem ? https://github.com/litingyes/note-editor/blob/main/packages/tiptap-extension-block-container/src/blockContainer.ts#L64 |
Beta Was this translation helpful? Give feedback.
5 replies
-
May I ask if your issue has been resolved? I also encountered a requirement for a controller before the list item li, and my current code structure is similar to yours |
Beta Was this translation helpful? Give feedback.
0 replies
-
We have the notion like template for this https://templates.tiptap.dev |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Custom Document Top Node with Keymap Issues
We have implemented a custom document top node that includes drag handles, an add button for new lines, and a slash menu. However, we are encountering issues with the custom keymap used to handle the Enter key behavior. Specifically, the behavior of bullet lists, numbered lists, and code blocks is not as expected when nodes with nesting, like code blocks or block quotes, are present.
When pressing on an empty node inside bullet list It should create a new RootBlock below, And In Codeblock we cannot type multiple lines pressing enter is creating a new RootBlock instead.
Screencast.from.04-01-24.05.51.53.PM.IST.webm
Custom RootBlock Node Extension
Custom RootBlock component
Custom keymap
Beta Was this translation helpful? Give feedback.
All reactions