mirror of
https://github.com/hcengineering/platform.git
synced 2025-03-12 00:11:17 +00:00
Fix ezqms upgrade (#3667)
* Revert update backlinks api for ezqms Signed-off-by: Anna No <anna.no@xored.com> * revert unnecessary changes Signed-off-by: Anna No <anna.no@xored.com> * revert unnecessary changes Signed-off-by: Anna No <anna.no@xored.com> --------- Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
parent
7c33a3a943
commit
91647ebc6e
@ -20,7 +20,7 @@
|
|||||||
import { getContext, createEventDispatcher, onDestroy, onMount } from 'svelte'
|
import { getContext, createEventDispatcher, onDestroy, onMount } from 'svelte'
|
||||||
import { WebsocketProvider } from 'y-websocket'
|
import { WebsocketProvider } from 'y-websocket'
|
||||||
import * as Y from 'yjs'
|
import * as Y from 'yjs'
|
||||||
import { Editor, Extension, HTMLContent, getMarkRange } from '@tiptap/core'
|
import { AnyExtension, Editor, Extension, HTMLContent, getMarkRange } from '@tiptap/core'
|
||||||
import Collaboration from '@tiptap/extension-collaboration'
|
import Collaboration from '@tiptap/extension-collaboration'
|
||||||
import CollaborationCursor from '@tiptap/extension-collaboration-cursor'
|
import CollaborationCursor from '@tiptap/extension-collaboration-cursor'
|
||||||
import Placeholder from '@tiptap/extension-placeholder'
|
import Placeholder from '@tiptap/extension-placeholder'
|
||||||
@ -60,6 +60,7 @@
|
|||||||
export let autoOverflow = false
|
export let autoOverflow = false
|
||||||
export let initialContent: string | undefined = undefined
|
export let initialContent: string | undefined = undefined
|
||||||
export let textNodeActions: TextNodeAction[] = []
|
export let textNodeActions: TextNodeAction[] = []
|
||||||
|
export let extensions: AnyExtension[] = []
|
||||||
export let isNodeHighlightModeOn: boolean = false
|
export let isNodeHighlightModeOn: boolean = false
|
||||||
export let onNodeHighlightType: (uuid: string) => NodeHighlightType = () => NodeHighlightType.WARNING
|
export let onNodeHighlightType: (uuid: string) => NodeHighlightType = () => NodeHighlightType.WARNING
|
||||||
|
|
||||||
@ -256,8 +257,8 @@
|
|||||||
|
|
||||||
return !!currentTextNodeAction
|
return !!currentTextNodeAction
|
||||||
}
|
}
|
||||||
})
|
}),
|
||||||
// ...extensions
|
...extensions
|
||||||
],
|
],
|
||||||
onTransaction: () => {
|
onTransaction: () => {
|
||||||
// force re-render so `editor.isActive` works as expected
|
// force re-render so `editor.isActive` works as expected
|
||||||
|
Loading…
Reference in New Issue
Block a user