@layers-app/editor 0.0.3 → 0.0.5

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
@@ -114,7 +114,11 @@ const html = `
114
114
  </p>
115
115
  `
116
116
 
117
- const onChange = (data) => // html
117
+ const onChange = (data: string, text?: string) => {
118
+ // data - html from editor
119
+ // text - text from editor
120
+ }
121
+
118
122
 
119
123
  <Editor initialContent={html} outputFormat="html" onChange={onChange} />
120
124
  ```