@meta-1/editor 1.0.7 → 1.0.8
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.
- package/package.json +1 -1
- package/src/components/tiptap-node/paragraph-node/paragraph-node.css +12 -4
- package/src/components/tiptap-node/table-node/lib/tiptap-table-utils.ts +412 -499
- package/src/components/tiptap-node/table-node/ui/table-duplicate-row-column-button/use-table-duplicate-row-column.ts +2 -0
- package/src/lib/tiptap-advanced-utils.ts +1 -1
- package/src/lib/tiptap-utils.ts +1 -1
package/package.json
CHANGED
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
.tiptap.ProseMirror:not(.readonly):not(.ProseMirror-hideselection) ::selection {
|
|
25
25
|
@apply bg-indigo-100 dark:bg-indigo-900;
|
|
26
26
|
}
|
|
27
|
+
.dark .tiptap.ProseMirror:not(.readonly):not(.ProseMirror-hideselection) ::selection {
|
|
28
|
+
@apply bg-white/15;
|
|
29
|
+
}
|
|
27
30
|
|
|
28
31
|
.tiptap.ProseMirror:not(.readonly):not(.ProseMirror-hideselection) .selection::selection {
|
|
29
32
|
@apply bg-transparent;
|
|
@@ -32,21 +35,26 @@
|
|
|
32
35
|
.tiptap.ProseMirror .selection {
|
|
33
36
|
@apply inline bg-indigo-100 dark:bg-indigo-900;
|
|
34
37
|
}
|
|
38
|
+
.dark .tiptap.ProseMirror .selection {
|
|
39
|
+
@apply bg-white/15;
|
|
40
|
+
}
|
|
35
41
|
|
|
36
42
|
/* Selected node styles */
|
|
37
43
|
.tiptap.ProseMirror .ProseMirror-selectednode:not(img):not(pre):not(.react-renderer) {
|
|
38
44
|
@apply rounded-md bg-indigo-100 dark:bg-indigo-900;
|
|
39
45
|
}
|
|
46
|
+
.dark .tiptap.ProseMirror .ProseMirror-selectednode:not(img):not(pre):not(.react-renderer) {
|
|
47
|
+
@apply bg-white/15;
|
|
48
|
+
}
|
|
40
49
|
|
|
41
50
|
.tiptap.ProseMirror .ProseMirror-hideselection {
|
|
42
51
|
caret-color: transparent;
|
|
43
52
|
}
|
|
44
53
|
|
|
45
54
|
/* Resize cursor */
|
|
46
|
-
.tiptap.ProseMirror.resize-cursor {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
55
|
+
.tiptap.ProseMirror.resize-cursor {
|
|
56
|
+
cursor: col-resize;
|
|
57
|
+
}
|
|
50
58
|
|
|
51
59
|
/* =====================
|
|
52
60
|
TEXT DECORATION
|