@react-email/editor 0.0.0-experimental.20 → 0.0.0-experimental.22

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.
@@ -700,6 +700,19 @@ a[data-re-link-bm-item] {
700
700
  .tiptap h2,
701
701
  .tiptap h3 {
702
702
  margin: 0.5em 0 0.25em;
703
+ font-weight: 700;
704
+ }
705
+
706
+ .tiptap h1 {
707
+ font-size: 2em;
708
+ }
709
+
710
+ .tiptap h2 {
711
+ font-size: 1.5em;
712
+ }
713
+
714
+ .tiptap h3 {
715
+ font-size: 1.17em;
703
716
  }
704
717
 
705
718
  .tiptap blockquote {
@@ -735,8 +748,14 @@ a[data-re-link-bm-item] {
735
748
  border-radius: 0;
736
749
  }
737
750
 
738
- .tiptap ul,
751
+ .tiptap ul {
752
+ list-style-type: disc;
753
+ padding-left: 1.5em;
754
+ margin: 0.25em 0;
755
+ }
756
+
739
757
  .tiptap ol {
758
+ list-style-type: decimal;
740
759
  padding-left: 1.5em;
741
760
  margin: 0.25em 0;
742
761
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-email/editor",
3
- "version": "0.0.0-experimental.20",
3
+ "version": "0.0.0-experimental.22",
4
4
  "description": "",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -46,11 +46,14 @@
46
46
  "@radix-ui/react-popover": "^1.0.0",
47
47
  "lucide-react": ">=0.300.0",
48
48
  "react": "^18.0 || ^19.0 || ^19.0.0-rc",
49
+ "react-dom": "^18.0 || ^19.0 || ^19.0.0-rc",
49
50
  "@react-email/components": "1.0.9"
50
51
  },
51
52
  "dependencies": {
53
+ "@floating-ui/react-dom": "^2.1.8",
52
54
  "@tiptap/core": "^3.17.1",
53
55
  "@tiptap/extension-blockquote": "^3.17.1",
56
+ "@tiptap/extension-bold": "^3.20.1",
54
57
  "@tiptap/extension-bullet-list": "^3.17.1",
55
58
  "@tiptap/extension-code": "^3.17.1",
56
59
  "@tiptap/extension-code-block": "^3.17.1",
@@ -65,6 +68,8 @@
65
68
  "@tiptap/extension-paragraph": "^3.17.1",
66
69
  "@tiptap/extension-placeholder": "^3.17.1",
67
70
  "@tiptap/extension-strike": "^3.17.1",
71
+ "@tiptap/extension-superscript": "^3.17.1",
72
+ "@tiptap/extension-underline": "^3.17.1",
68
73
  "@tiptap/extensions": "^3.17.1",
69
74
  "@tiptap/html": "^3.17.1",
70
75
  "@tiptap/pm": "^3.17.1",
@@ -72,8 +77,7 @@
72
77
  "@tiptap/starter-kit": "^3.17.1",
73
78
  "@tiptap/suggestion": "^3.17.1",
74
79
  "hast-util-from-html": "^2.0.3",
75
- "prismjs": "^1.30.0",
76
- "tippy.js": "^6.3.7"
80
+ "prismjs": "^1.30.0"
77
81
  },
78
82
  "devDependencies": {
79
83
  "@testing-library/react": "^16.0.0",
@@ -89,9 +93,9 @@
89
93
  "access": "public"
90
94
  },
91
95
  "scripts": {
92
- "build": "tsdown src/index.ts --format esm,cjs --dts --external react && pnpm run build:css",
96
+ "build": "tsdown src/index.ts --format esm,cjs --dts --external react --external react-dom && pnpm run build:css",
93
97
  "build:css": "tsx scripts/copy-css.ts",
94
- "build:watch": "tsdown src/index.ts --format esm,cjs --dts --external react --watch",
98
+ "build:watch": "tsdown src/index.ts --format esm,cjs --dts --external react --external react-dom --watch",
95
99
  "clean": "rm -rf dist",
96
100
  "typecheck": "tsc --noEmit",
97
101
  "test": "vitest run",