-
Notifications
You must be signed in to change notification settings - Fork 109
Several link bubble/preview fixes #7474
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7474 +/- ##
==========================================
+ Coverage 59.72% 59.75% +0.02%
==========================================
Files 495 495
Lines 37725 37824 +99
Branches 1090 1090
==========================================
+ Hits 22531 22600 +69
- Misses 15087 15117 +30
Partials 107 107 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Jonas <[email protected]>
We have a custom node for displaying images anyway. This fixes the cursor being a pointer in the preview images of preview links. Signed-off-by: Jonas <[email protected]>
Fixes: #1226 Signed-off-by: Jonas <[email protected]>
When initiating the editor extensions (i.e. in `addProseMirrorPlugins()`), `editor.contentComponent` is not yet available. So let's read it when we actually use it, when creating the tooltip in `LinkBubblePluginView`. Before, a new Vue instance was initiated for each `LinkBubbleView.vue` as the `parent` given to `VueRenderer()` was `undefined`. With this fix, `LinkBubbleView.vue` becomes a child component of the root editor Vue instance. Signed-off-by: Jonas <[email protected]>
Signed-off-by: Jonas <[email protected]>
Signed-off-by: Jonas <[email protected]>
| type="tertiary" | ||
| @click="openLink(href)"> | ||
| <template #icon> | ||
| <OpenInNewIcon :size="20" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked for a different icon briefly as this does not always open in new... but i found nothing satisfying.
Signed-off-by: Jonas <[email protected]>
|
/backport to stable31 |
|
/backport to stable30 |
📝 Summary
editor.contentComponentwhen it's readyScreenshots
🏁 Checklist
npm run lint/npm run stylelint/composer run cs:check)