react-tailwind-email-editor 0.0.5 → 0.0.6

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/README.md CHANGED
@@ -23,11 +23,8 @@ A professional, fully customizable drag-and-drop email template editor built wit
23
23
 
24
24
  ## Installation
25
25
 
26
- ```bash
27
- # Copy the src/components/editor directory into your project
28
- cp -r src/components/editor your-project/src/components/editor
29
- cp src/lib/htmlExporter.ts your-project/src/lib/htmlExporter.ts
30
- ```
26
+ ````bash
27
+
31
28
 
32
29
  ### Peer Dependencies
33
30
 
@@ -35,7 +32,7 @@ Ensure your project has these installed:
35
32
 
36
33
  ```bash
37
34
  npm install @craftjs/core react react-dom lucide-react tailwindcss tailwind-merge clsx class-variance-authority
38
- ```
35
+ ````
39
36
 
40
37
  Also requires [shadcn/ui](https://ui.shadcn.com/) components: `button`, `scroll-area`, `tabs`, `accordion`, `dialog`, `dropdown-menu`, `popover`, `label`, `separator`.
41
38
 
@@ -59,7 +56,7 @@ export default {
59
56
  ### Basic
60
57
 
61
58
  ```tsx
62
- import { EmailEditor } from "@/components/editor";
59
+ import { EmailEditor } from "react-tailwind-email-editor";
63
60
 
64
61
  function App() {
65
62
  return <EmailEditor />;
@@ -69,7 +66,7 @@ function App() {
69
66
  ### With Custom Components
70
67
 
71
68
  ```tsx
72
- import { EmailEditor } from "@/components/editor";
69
+ import { EmailEditor } from "react-tailwind-email-editor";
73
70
  import { MyCustomBlock } from "./MyCustomBlock";
74
71
  import { Puzzle } from "lucide-react";
75
72
 
@@ -93,7 +90,7 @@ function App() {
93
90
  ### Full Customization
94
91
 
95
92
  ```tsx
96
- import { EmailEditor } from "@/components/editor";
93
+ import { EmailEditor } from "react-tailwind-email-editor";
97
94
 
98
95
  function App() {
99
96
  return (