@ctzhian/tiptap 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -95,7 +95,7 @@ var LinkViewWrapper = function LinkViewWrapper(_ref) {
|
|
|
95
95
|
};
|
|
96
96
|
var handleDeleteLink = function handleDeleteLink() {
|
|
97
97
|
editor.commands.deleteNode(node.type);
|
|
98
|
-
editor.
|
|
98
|
+
editor.chain().insertContent(attrs.title || attrs.href).focus().run();
|
|
99
99
|
};
|
|
100
100
|
var handleCopyLink = useCallback( /*#__PURE__*/function () {
|
|
101
101
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(event) {
|
package/dist/index.css
CHANGED
|
@@ -455,17 +455,20 @@
|
|
|
455
455
|
|
|
456
456
|
/* 表格滚动条样式 */
|
|
457
457
|
.tiptap.ProseMirror .tableWrapper::-webkit-scrollbar {
|
|
458
|
-
height:
|
|
458
|
+
height: 5px;
|
|
459
|
+
cursor: pointer;
|
|
459
460
|
}
|
|
460
461
|
|
|
461
462
|
.tiptap.ProseMirror .tableWrapper::-webkit-scrollbar-track {
|
|
462
463
|
background: var(--mui-palette-divider);
|
|
463
464
|
border-radius: 4px;
|
|
465
|
+
cursor: pointer;
|
|
464
466
|
}
|
|
465
467
|
|
|
466
468
|
.tiptap.ProseMirror .tableWrapper::-webkit-scrollbar-thumb {
|
|
467
469
|
background: var(--mui-palette-text-disabled);
|
|
468
470
|
border-radius: 4px;
|
|
471
|
+
cursor: pointer;
|
|
469
472
|
}
|
|
470
473
|
|
|
471
474
|
/* youtube */
|