tiptap-notion-editor 0.7.0 → 0.7.2

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.
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  :root {
16
+ /* Tầng z của những lớp bay ra khỏi editor (menu, popover, tooltip).
17
+ * Chúng portal ra <body> nên phải cao hơn modal của app chủ, nếu không
18
+ * mở menu trong dialog là nó vẽ nằm dưới lớp phủ và coi như mất tích.
19
+ * 120/130 khớp thang quen thuộc của shadcn (dialog 100 < popover 120 <
20
+ * tooltip 130); app chủ dùng thang khác thì ghi đè hai biến này. */
21
+ --notion-editor-z-menu: 120;
22
+ --notion-editor-z-tooltip: 130;
23
+
16
24
  /* Brand — dùng cho vùng drop ảnh và trạng thái active */
17
25
  --tt-brand-color-50: var(--color-primary-50, rgba(239, 238, 255, 1));
18
26
  --tt-brand-color-400: var(--color-primary-400, rgba(122, 82, 255, 1));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiptap-notion-editor",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "type": "module",
5
5
  "description": "Notion-style rich text editor built on Tiptap 3 — slash commands, drag handles, tables, image upload, math and table of contents.",
6
6
  "license": "MIT",