@ryzeup/richtexteditor 1.0.0 โ 1.0.1
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 +6 -35
- package/dist/index.es.js +685 -619
- package/dist/index.umd.js +4 -4
- package/dist/richtexteditor.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
# Using npm
|
|
31
|
-
npm install @
|
|
31
|
+
npm install @ryzeup/richtexteditor
|
|
32
32
|
|
|
33
33
|
# Or yarn
|
|
34
|
-
yarn add @
|
|
34
|
+
yarn add @ryzeup/richtexteditor
|
|
35
35
|
|
|
36
36
|
# Or pnpm
|
|
37
|
-
pnpm add @
|
|
37
|
+
pnpm add @ryzeup/richtexteditor
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
@@ -70,19 +70,6 @@ function App() {
|
|
|
70
70
|
fontFamily: true,
|
|
71
71
|
fontSize: true,
|
|
72
72
|
}}
|
|
73
|
-
classNames={{
|
|
74
|
-
wrapper: "custom-wrapper",
|
|
75
|
-
editor: "custom-editor",
|
|
76
|
-
}}
|
|
77
|
-
styles={{
|
|
78
|
-
editor: {
|
|
79
|
-
border: "1px solid #ccc",
|
|
80
|
-
padding: "12px",
|
|
81
|
-
minHeight: "200px",
|
|
82
|
-
borderRadius: "8px",
|
|
83
|
-
},
|
|
84
|
-
}}
|
|
85
|
-
handleGetHtml={(html) => console.log("Editor HTML:", html)}
|
|
86
73
|
/>
|
|
87
74
|
);
|
|
88
75
|
}
|
|
@@ -215,35 +202,19 @@ Vite will automatically bundle your styles in the JS build.
|
|
|
215
202
|
|
|
216
203
|
## ๐ Troubleshooting
|
|
217
204
|
Issue Solution
|
|
218
|
-
CSS not applied
|
|
205
|
+
CSS not applied import "../node_modules/@ryzeup/richtexteditor/dist/richtexteditor.css"
|
|
219
206
|
Cannot find module '../data/emojis.json' Add "resolveJsonModule": true to tsconfig.json
|
|
220
207
|
TypeScript import error (.tsx) Remove .tsx from imports (use import App from './App')
|
|
221
208
|
Toolbar icons missing Ensure react-icons is installed
|
|
222
209
|
|
|
223
210
|
---
|
|
224
211
|
|
|
225
|
-
## ๐ค Contributing
|
|
226
|
-
|
|
227
|
-
Contributions, issues, and feature requests are welcome!
|
|
228
|
-
Feel free to open a PR or create an issue in the repository.
|
|
229
|
-
|
|
230
|
-
git clone https://github.com/<your-username>/texteditor.git
|
|
231
|
-
cd texteditor
|
|
232
|
-
npm install
|
|
233
|
-
npm run dev
|
|
234
|
-
|
|
235
212
|
๐งพ License
|
|
236
213
|
|
|
237
214
|
This project is licensed under the MIT License โ free for personal and commercial use.
|
|
238
215
|
|
|
239
|
-
๐ฌ Author
|
|
240
|
-
|
|
241
|
-
๐จโ๐ป Arshad Babblu
|
|
242
|
-
๐ Portfolio
|
|
216
|
+
๐ฌ Author - Ryzeup team
|
|
243
217
|
|
|
244
|
-
|
|
218
|
+
๐จโ๐ป Ryzeup
|
|
245
219
|
|
|
246
|
-
If you find this project useful, please โญ it on GitHub
|
|
247
|
-
!
|
|
248
|
-
Your support motivates continued updates and improvements.
|
|
249
220
|
```
|