tiptap/packages
Abdullah Atta 4bca77e4e9
fix: do not use window.open for links in readonly mode (#4073)
* fix: do not use window.open for links in readonly mode

When `contenteditable` is `true`, the browser doesn't allow
direct link opens on clicking the `a` element. This is why we
need to call `window.open` to open our links.

However, when `contenteditable` is `false`, the default
browser mechanism for opening links works and there is no
need for using `window.open`.

* fix: linting errors
2023-07-07 15:31:41 +02:00
..
core New Cut Command & Position Mapping for insertContentAt (#4141) 2023-07-07 13:17:13 +02:00
extension-blockquote Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-bold Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-bubble-menu Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-bullet-list Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-character-count Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-code Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-code-block Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-code-block-lowlight Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-collaboration Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-collaboration-cursor Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-color Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-document Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-dropcursor Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-floating-menu Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-focus Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-font-family Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-gapcursor Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-hard-break Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-heading Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-highlight Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-history Fix mod+z/mod+y failed with capslock (#4132) 2023-07-07 15:09:24 +02:00
extension-horizontal-rule Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-image Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-italic Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-link fix: do not use window.open for links in readonly mode (#4073) 2023-07-07 15:31:41 +02:00
extension-list-item Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-mention Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-ordered-list Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-paragraph Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-placeholder Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-strike Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-subscript Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-superscript Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-table Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-table-cell Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-table-header Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-table-row Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-task-item Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-task-list Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-text Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-text-align Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-text-style Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-typography Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-underline Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
extension-youtube Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
html Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
pm v2.1.0-rc.9 2023-06-15 11:52:59 +02:00
react Destroy editor in safe (#4000) 2023-07-07 15:17:32 +02:00
starter-kit Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
suggestion Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
vue-2 Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
vue-3 Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00