-
Notifications
You must be signed in to change notification settings - Fork 91
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
[stable30] fix(paragraph): migrate preview options to decorations #6431
Commits on Sep 23, 2024
-
enh: add extractLinkParagraphs
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 90a6b13 - Browse repository at this point
Copy the full SHA 90a6b13View commit details -
refactor(test): reuse link string
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5bb8981 - Browse repository at this point
Copy the full SHA 5bb8981View commit details -
enh(preview): include previews in list of link paragraphs
Render the preview options as a decoration for previews too. Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 88716d9 - Browse repository at this point
Copy the full SHA 88716d9View commit details -
feat(previewOptions): Migrate preview options to prosemirror decorations
Fixes: #6185 Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9eb06cc - Browse repository at this point
Copy the full SHA 9eb06ccView commit details -
chore(preview): Remove PreviewOptions from Paragraph and Preview
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e0619b - Browse repository at this point
Copy the full SHA 9e0619bView commit details -
enh(preview): add nodeSize in decoration data structure
Required for implementing `deleteNode` like tiptap does it: https://github.com/ueberdosis/tiptap/blob/develop/packages/core/src/NodeView.ts#L305 Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2f2660b - Browse repository at this point
Copy the full SHA 2f2660bView commit details -
fix(preview): use deleteRange to remove the node
Compute the range based on offset and nodeSize. Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f824bf - Browse repository at this point
Copy the full SHA 6f824bfView commit details -
fix(preview): Fix alignment of preview options
- center align options for text links - top align options for preview links Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf3de35 - Browse repository at this point
Copy the full SHA cf3de35View commit details -
fix(paragraph): get rid of superfluous ParagraphView component
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83c528f - Browse repository at this point
Copy the full SHA 83c528fView commit details -
fix(preview): Don't let preview options container overlay paragraph
Otherwise the overlay container would catch all the click events. Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fc2f53 - Browse repository at this point
Copy the full SHA 7fc2f53View commit details -
fix(preview): Fix some linting issues
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8076a8 - Browse repository at this point
Copy the full SHA f8076a8View commit details -
test(cy): Fix selectors for paragraphs in cypress tests
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4971428 - Browse repository at this point
Copy the full SHA 4971428View commit details -
fix(preview): Further improvements
* Don't calculate preview options decorations in readonly editor * Check for changed nodeSize when checking for decoration changes * Rename `editor` to `$editor` in vue compontent, it's not reactive Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 500577a - Browse repository at this point
Copy the full SHA 500577aView commit details