diff --git a/external/@worldbrain/memex-common b/external/@worldbrain/memex-common index da9fa7dd4a..81ce04034b 160000 --- a/external/@worldbrain/memex-common +++ b/external/@worldbrain/memex-common @@ -1 +1 @@ -Subproject commit da9fa7dd4a366edf388189d0015af4211e1f5d92 +Subproject commit 81ce04034b52b51ffa07adf5839711be4ebbf62b diff --git a/src/annotations/components/AnnotationCreate.tsx b/src/annotations/components/AnnotationCreate.tsx index 5fe5815f01..69a48b27d1 100644 --- a/src/annotations/components/AnnotationCreate.tsx +++ b/src/annotations/components/AnnotationCreate.tsx @@ -202,7 +202,8 @@ export class AnnotationCreate extends React.Component this.setState({ onEditClick: true }, async () => { await delay(300) if (commentText) { - this.editor?.addYoutubeTimestampWithText( + this.editor?.insertContentAt( + null, commentText, ) } else { @@ -212,9 +213,7 @@ export class AnnotationCreate extends React.Component }) } else { if (commentText) { - this.editor?.addYoutubeTimestampWithText( - commentText, - ) + this.editor?.insertContentAt(null, commentText) } else { this.editor?.addYoutubeTimestamp() }