Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
467 changes: 204 additions & 263 deletions package-lock.json

Large diffs are not rendered by default.

66 changes: 34 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,38 +46,38 @@
"@nextcloud/sharing": "^0.4.0",
"@nextcloud/vue": "^8.37.0",
"@quartzy/markdown-it-mentions": "^0.2.0",
"@tiptap/core": "^3.22.3",
"@tiptap/extension-blockquote": "^3.22.3",
"@tiptap/extension-bold": "^3.22.3",
"@tiptap/extension-code": "^3.22.3",
"@tiptap/extension-code-block": "^3.22.3",
"@tiptap/extension-code-block-lowlight": "^3.22.3",
"@tiptap/extension-collaboration": "^3.22.3",
"@tiptap/extension-collaboration-caret": "^3.22.3",
"@tiptap/extension-document": "^3.22.3",
"@tiptap/extension-drag-handle": "^3.22.3",
"@tiptap/extension-drag-handle-vue-2": "^3.22.3",
"@tiptap/extension-hard-break": "^3.22.3",
"@tiptap/extension-heading": "^3.22.3",
"@tiptap/extension-highlight": "^3.22.3",
"@tiptap/extension-horizontal-rule": "^3.22.3",
"@tiptap/extension-image": "^3.22.3",
"@tiptap/extension-italic": "^3.22.3",
"@tiptap/extension-link": "^3.22.3",
"@tiptap/extension-list": "^3.22.3",
"@tiptap/extension-mathematics": "^3.22.3",
"@tiptap/extension-mention": "^3.22.3",
"@tiptap/extension-paragraph": "^3.22.3",
"@tiptap/extension-placeholder": "^3.22.3",
"@tiptap/extension-strike": "^3.22.3",
"@tiptap/extension-table": "^3.22.3",
"@tiptap/extension-text": "^3.22.3",
"@tiptap/extension-typography": "^3.22.3",
"@tiptap/extension-underline": "^3.22.3",
"@tiptap/extensions": "^3.22.3",
"@tiptap/pm": "^3.22.3",
"@tiptap/suggestion": "^3.22.3",
"@tiptap/vue-2": "^3.22.3",
"@tiptap/core": "^3.22.4",
"@tiptap/extension-blockquote": "^3.22.4",
"@tiptap/extension-bold": "^3.22.4",
"@tiptap/extension-code": "^3.22.4",
"@tiptap/extension-code-block": "^3.22.4",
"@tiptap/extension-code-block-lowlight": "^3.22.4",
"@tiptap/extension-collaboration": "^3.22.4",
"@tiptap/extension-collaboration-caret": "^3.22.4",
"@tiptap/extension-document": "^3.22.4",
"@tiptap/extension-drag-handle": "^3.22.4",
"@tiptap/extension-drag-handle-vue-2": "^3.22.4",
"@tiptap/extension-hard-break": "^3.22.4",
"@tiptap/extension-heading": "^3.22.4",
"@tiptap/extension-highlight": "^3.22.4",
"@tiptap/extension-horizontal-rule": "^3.22.4",
"@tiptap/extension-image": "^3.22.4",
"@tiptap/extension-italic": "^3.22.4",
"@tiptap/extension-link": "^3.22.4",
"@tiptap/extension-list": "^3.22.4",
"@tiptap/extension-mathematics": "^3.22.4",
"@tiptap/extension-mention": "^3.22.4",
"@tiptap/extension-paragraph": "^3.22.4",
"@tiptap/extension-placeholder": "^3.22.4",
"@tiptap/extension-strike": "^3.22.4",
"@tiptap/extension-table": "^3.22.4",
"@tiptap/extension-text": "^3.22.4",
"@tiptap/extension-typography": "^3.22.4",
"@tiptap/extension-underline": "^3.22.4",
"@tiptap/extensions": "^3.22.4",
"@tiptap/pm": "^3.22.4",
"@tiptap/suggestion": "^3.22.4",
"@tiptap/vue-2": "^3.22.4",
"@vueuse/shared": "^11.3.0",
"debounce": "^3.0.0",
"escape-html": "^1.0.3",
Expand All @@ -94,6 +94,7 @@
"mermaid": "^11.14.0",
"mitt": "^3.0.1",
"path-normalize": "^8.0.0",
"prosemirror-markdown": "^1.13.4",
"proxy-polyfill": "^0.3.2",
"slug": "^11.0.1",
"tippy.js": "^6.3.7",
Expand Down Expand Up @@ -128,6 +129,7 @@
"identity-obj-proxy": "^3.0.0",
"jsdom": "^29.0.2",
"prettier-plugin-organize-imports": "^4.3.0",
"prosemirror-schema-basic": "^1.2.4",
"prosemirror-test-builder": "^1.1.1",
"rollup-plugin-webpack-stats": "^3.1.1",
"typescript": "^5.9.3",
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/Markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
*/

import { Extension, getExtensionField } from '@tiptap/core'
import { MarkdownSerializer, defaultMarkdownSerializer } from '@tiptap/pm/markdown'
import { DOMParser } from '@tiptap/pm/model'
import { Plugin, PluginKey } from '@tiptap/pm/state'
import { MarkdownSerializer, defaultMarkdownSerializer } from 'prosemirror-markdown'
import markdownit from '../markdownit/index.js'
import transformPastedHTML from './transformPastedHTML.js'

Expand Down
2 changes: 1 addition & 1 deletion src/nodes/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

import { emit } from '@nextcloud/event-bus'
import TiptapImage from '@tiptap/extension-image'
import { defaultMarkdownSerializer } from '@tiptap/pm/markdown'
import { Plugin, PluginKey } from '@tiptap/pm/state'
import { VueNodeViewRenderer } from '@tiptap/vue-2'
import { defaultMarkdownSerializer } from 'prosemirror-markdown'
import extractAttachmentSrcs from '../plugins/extractAttachmentSrcs.ts'
import ImageView from './ImageView.vue'

Expand Down
2 changes: 1 addition & 1 deletion src/nodes/ImageInline.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/

import TiptapImage from '@tiptap/extension-image'
import { defaultMarkdownSerializer } from '@tiptap/pm/markdown'
import { VueNodeViewRenderer } from '@tiptap/vue-2'
import { defaultMarkdownSerializer } from 'prosemirror-markdown'
import ImageView from './ImageView.vue'

// Inline image extension. Needed if markdown contains inline images.
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/Table/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

import { MarkdownSerializerState } from '@tiptap/pm/markdown'
import { Node } from '@tiptap/pm/model'
import { MarkdownSerializerState } from 'prosemirror-markdown'
import { createMarkdownSerializer } from '../../extensions/Markdown.js'

type Cell = {
Expand Down
2 changes: 1 addition & 1 deletion src/tests/plugins/linkBubble.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

import { schema } from '@tiptap/pm/schema-basic'
import { EditorState, Plugin } from '@tiptap/pm/state'
import { schema } from 'prosemirror-schema-basic'
import { hideLinkBubble, linkBubble, setActiveLink } from '../../plugins/links.js'

describe('linkBubble prosemirror plugin', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/tests/plugins/searchQuery.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { schema } from '@tiptap/pm/schema-basic'
import { EditorState, Plugin } from '@tiptap/pm/state'
import { schema } from 'prosemirror-schema-basic'
import {
nextMatch,
previousMatch,
Expand Down
Loading