Skip to content

Commit

Permalink
fix prosemirror-view
Browse files Browse the repository at this point in the history
  • Loading branch information
KonnorRogers committed Nov 2, 2024
1 parent 1df4b5e commit f331f69
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 52 deletions.
8 changes: 4 additions & 4 deletions docs/src/rhino-editor/exports/styles/trix.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"prosemirror-codemark": "^0.4.2",
"prosemirror-utils": "^1.2.2",
"role-components": "^3.1.0",
"prosemirror-view": "^1.0.0",
"tslib": "^2.8.0"
},
"repository": "git@github.com:KonnorRogers/rhino-editor.git",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/exports/extensions/attachment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ export const Attachment = Node.create<AttachmentOptions>({
}

let mouseIsDown = false;
let mouseTimeout: number | null = null;
let mouseTimeout: ReturnType<typeof setTimeout> | null = null;

// This is a very simple drag handler. This allows us to drag non-previewable nodes.
// https://discuss.prosemirror.net/t/dragndrop-a-drag-handle-element/4563
Expand Down
8 changes: 4 additions & 4 deletions tests/rails/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "module",
"devDependencies": {
"@playwright/test": "^1.48.2",
"playwright": "^1.48.2",
"@playwright/test": "1.48.0",
"playwright": "1.48.2",
"vite": "^5.4.10",
"vite-plugin-ruby": "^5.1.0"
},
Expand All @@ -15,9 +15,9 @@
"@tiptap/extension-collaboration": "^2.9.1",
"@tiptap/extension-collaboration-cursor": "^2.9.1",
"@y-rb/actioncable": "^0.2.1",
"prosemirror-view": "~1.28.0",
"prosemirror-view": "^1.0.0",
"rhino-editor": "link:../..",
"trix": "^2.1.8",
"trix": "2.1.7",
"y-prosemirror": "^1.2.12",
"y-protocols": "^1.0.6",
"y-websocket": "^2.0.4",
Expand Down
101 changes: 58 additions & 43 deletions tests/rails/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f331f69

Please sign in to comment.