@mdaemon/html-editor-react 1.6.0 → 1.6.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 +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -255,7 +255,7 @@ The `config` prop (or `useEditor`'s `config` option) accepts an `EditorConfig` o
|
|
|
255
255
|
| `paste_from_office` | `boolean` | `true` | Clean and preserve formatting when pasting from Microsoft Word/Excel. |
|
|
256
256
|
| `speech_to_text` | `boolean` | `true` | Enable the `speechtotext` and `dictate` toolbar buttons (requires the Web Speech API). |
|
|
257
257
|
| `convert_unsafe_embeds` | `boolean` | `true` | Sanitize embedded content. |
|
|
258
|
-
| `format_empty_lines` | `boolean` | `true` | Preserve blank lines outside the editor. `getContent()`
|
|
258
|
+
| `format_empty_lines` | `boolean` | `true` | Preserve blank lines outside the editor. On the way out (`getContent()`, the `onChange` payload, preview, and the source dialog) each empty block is filled with a `<br>` — bare empty blocks otherwise collapse to zero height in mail clients; on the way in (`setContent()`, `insertContent()`, templates) it is stripped back out, so `setContent(getContent(x))` is stable across round-trips. Set `false` to pass content through unchanged in both directions. |
|
|
259
259
|
| `includeTemplates` | `boolean` | `false` | Show the template dropdown. |
|
|
260
260
|
| `templates` | `Template[]` | `[]` | Predefined HTML templates. |
|
|
261
261
|
| `dropbox` | `boolean` | `false` | Enable Dropbox integration. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdaemon/html-editor-react",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "React wrapper for MDHTMLEditor",
|
|
5
5
|
"homepage": "https://github.com/mdaemon-technologies/MDHTMLEditor-react",
|
|
6
6
|
"repository": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"react-dom": "^19.0.0 || ^18.0.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@mdaemon/html-editor": "^1.10.
|
|
56
|
+
"@mdaemon/html-editor": "^1.10.1",
|
|
57
57
|
"@tiptap/react": "^3.27.4"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|