-
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
[stable29] fix(paragraph): migrate preview options to decorations #6430
Commits on Sep 23, 2024
-
enh: add extractLinkParagraphs
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4d27a4 - Browse repository at this point
Copy the full SHA c4d27a4View commit details -
refactor(test): reuse link string
Signed-off-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8445411 - Browse repository at this point
Copy the full SHA 8445411View 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 eb52636 - Browse repository at this point
Copy the full SHA eb52636View 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 1dc5c12 - Browse repository at this point
Copy the full SHA 1dc5c12View 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 cfcdb2b - Browse repository at this point
Copy the full SHA cfcdb2bView 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 d9f45f1 - Browse repository at this point
Copy the full SHA d9f45f1View 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 d868799 - Browse repository at this point
Copy the full SHA d868799View 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 339cf5b - Browse repository at this point
Copy the full SHA 339cf5bView 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 c23ece2 - Browse repository at this point
Copy the full SHA c23ece2View 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 4e61794 - Browse repository at this point
Copy the full SHA 4e61794View commit details -
fix(preview): Fix some linting issues
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa7e86a - Browse repository at this point
Copy the full SHA aa7e86aView 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 67ce990 - Browse repository at this point
Copy the full SHA 67ce990View 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 42960f7 - Browse repository at this point
Copy the full SHA 42960f7View commit details