react-edit-to-html 1.3.15 → 1.3.17

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
@@ -284,6 +284,7 @@ interface HtmlEditorProps {
284
284
  exportPdf?: (props: { onClick: () => void }) => React.ReactNode;
285
285
  export?: (props: { onClick: () => void }) => React.ReactNode;
286
286
  };
287
+ importedHtml?: string;
287
288
  }
288
289
  ```
289
290
 
@@ -300,6 +301,7 @@ interface HtmlEditorProps {
300
301
  | `headerSubtitle` | `string` | `'Interactive Document HTML Builder'` | Header subtitle text. |
301
302
  | `onExport` | `(html: string) => void` | `undefined` | Called when user exports template. |
302
303
  | `onExportPdf` | `(html: string) => void` | `undefined` | Called when user downloads PDF. |
304
+ | `importedHtml` | `string` | `undefined` | Forcefully loads / parses the provided raw HTML template string in the editor on prop change. |
303
305
 
304
306
  | Exported Helper Function | Parameters | Description |
305
307
  | :--- | :--- | :--- |