react-lite-rich-text-editor 1.1.6 → 1.1.7
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 +48 -1
- package/dist/index.cjs.js +384 -229
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.esm.js +384 -229
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export interface RichTextEditorProps {
|
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Whether the editor is in editable mode.
|
|
27
|
+
* @default true
|
|
27
28
|
*/
|
|
28
29
|
editable?: boolean;
|
|
29
30
|
|
|
@@ -47,6 +48,12 @@ export interface RichTextEditorProps {
|
|
|
47
48
|
*/
|
|
48
49
|
label?: string;
|
|
49
50
|
|
|
51
|
+
/**
|
|
52
|
+
* Placeholder text shown when the editor is empty.
|
|
53
|
+
* @default "Type here..."
|
|
54
|
+
*/
|
|
55
|
+
placeholder?: string;
|
|
56
|
+
|
|
50
57
|
/**
|
|
51
58
|
* Whether to show the border around the editor.
|
|
52
59
|
*/
|