-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add list nodes for timestamped comments #16530
Conversation
This issue was super informative: ueberdosis/tiptap#1403 |
const isEmpty = !hasContent(props.node) | ||
|
||
if (!isEmpty && !playbackTime) { | ||
setTimeout(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was seeing the same error @pauldambra faced in #16415 (comment). Adding a very short timeout worked but I feel like there has to be a better way here
@@ -60,3 +63,35 @@ export function externalLinkPasteRule(options: { | |||
}, | |||
}) | |||
} | |||
|
|||
export function nodePasteRule(config: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to reimplement the nodePasteRule because it didn't allow for content to be inserted when creating a node. Opened a PR to fix that in a future version: ueberdosis/tiptap#4212
Closing in favour of #16613 |
Problem
Towards #15680
We don't currently support any type of comments in recordings
Changes
How did you test this code?
Doesn't actually add any new functionality. Simply adds new node types. Will implement comments using these nodes in a future PR