-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(editor): add "Open in new tab" option for link previews
- Enhanced `PreviewOptions.vue` to include a new "Open in new tab" button for link previews. - Introduced the `openLink` method to open the link in a new browser tab. - Added `OpenIcon` for the button to improve UI consistency. - New `href` prop added to handle link URLs dynamically. - Updated `extractLinkParagraphs.js` to extract `href` attributes from nodes. - Ensures link previews include the necessary `href` for the "Open in new tab" action. These changes improve the user experience by allowing quick access to link previews in the editor, streamlining navigation workflows. Signed-off-by: Peter Birrer <[email protected]> Signed-off-by: Max <[email protected]>
- Loading branch information
1 parent
c76f190
commit 2c673b6
Showing
3 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters