@mdaemon/html-editor-react 1.10.0 → 1.12.0

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.
Files changed (2) hide show
  1. package/README.md +118 -21
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm](https://img.shields.io/npm/v/@mdaemon/html-editor-react?color=blue)](https://www.npmjs.com/package/@mdaemon/html-editor-react)
4
4
  [![license](https://img.shields.io/npm/l/@mdaemon/html-editor-react?color=green)](LICENSE)
5
5
  [![node](https://img.shields.io/node/v/@mdaemon/html-editor-react)](https://nodejs.org)
6
- [![install size](https://packagephobia.com/badge?p=@mdaemon/html-editor-react)](https://packagephobia.com/result?p=@mdaemon/html-editor-react)
6
+ [![install size](https://img.shields.io/npm/unpacked-size/@mdaemon/html-editor-react)](https://packagephobia.com/result?p=@mdaemon/html-editor-react)
7
7
  [![CI](https://github.com/mdaemon-technologies/MDHTMLEditor-react/actions/workflows/ci.yml/badge.svg)](https://github.com/mdaemon-technologies/MDHTMLEditor-react/actions/workflows/ci.yml)
8
8
 
9
9
  React wrapper for MDHTMLEditor
@@ -19,8 +19,8 @@ npm install @mdaemon/html-editor-react
19
19
  **Peer dependencies:** `react` and `react-dom` (v18 or v19).
20
20
 
21
21
  **TipTap:** the editor is built on TipTap 3, and this package tracks the same version the
22
- engine uses — currently **3.31.3** (`@mdaemon/html-editor` `^1.13.1`,
23
- `@tiptap/react` `^3.31.3`). If your app depends on any `@tiptap/*` package directly, keep
22
+ engine uses — currently **3.32.0** (`@mdaemon/html-editor` `^1.17.0`,
23
+ `@tiptap/react` `^3.32.0`). If your app depends on any `@tiptap/*` package directly, keep
24
24
  it on that version too: ProseMirror throws at runtime if two copies of `@tiptap/core` /
25
25
  `@tiptap/pm` end up in the bundle. If you only use `<Editor>` or `useEditor`, there is
26
26
  nothing to do.
@@ -233,7 +233,7 @@ The `config` prop (or `useEditor`'s `config` option) accepts an `EditorConfig` o
233
233
  | `height` | `string \| number` | `300` | Editor height. |
234
234
  | `min_height` | `string \| number` | &mdash; | Minimum editor height. |
235
235
  | `max_height` | `string \| number` | &mdash; | Maximum editor height. |
236
- | `language` | `string` | `'en'` | UI language code. 31 languages built in. |
236
+ | `language` | `string` | `'en'` | UI language code. 32 languages built in &mdash; see [Supported Languages](#supported-languages). |
237
237
  | `skin` | `'oxide' \| 'oxide-dark' \| 'confab' \| 'confab-dark'` | `'oxide'` | Toolbar and dialog theme. |
238
238
  | `content_css` | `'default' \| 'dark' \| 'confab' \| 'confab-dark'` | `'default'` | Content area theme. |
239
239
  | `content_style` | `string` | &mdash; | Custom CSS injected into the editing surface. |
@@ -246,7 +246,7 @@ The `config` prop (or `useEditor`'s `config` option) accepts an `EditorConfig` o
246
246
  | `block_formats` | `string` | *(Paragraph + H1&ndash;H6)* | Block-format dropdown definitions for the `blocks` button (`Name=tag;...`). |
247
247
  | `style_formats` | `StyleFormat[]` | *(subset)* | Named styles for the `styles` dropdown (CKEditor `stylesSet`-compatible). |
248
248
  | `forced_root_block` | `'p' \| 'div'` | `'p'` | Block element produced on Enter. `'div'` gives CKEditor `ENTER_DIV` parity. |
249
- | `trailingNode` | `boolean` | `false` | Append an empty trailing paragraph after a block node (table, image, code block) so the cursor can sit after it. |
249
+ | `trailingNode` | `boolean` | `false` | Append an empty trailing paragraph after a block node (table, code block) so the cursor can sit after it. |
250
250
  | `directionality` | `'ltr' \| 'rtl'` | `'ltr'` | Text direction. |
251
251
  | `toolbar` | `string` | *(preset)* | Custom toolbar layout string. |
252
252
  | `toolbar_mode` | `'sliding' \| 'floating' \| 'wrap'` | `'wrap'` | Toolbar overflow behavior. |
@@ -254,10 +254,19 @@ The `config` prop (or `useEditor`'s `config` option) accepts an `EditorConfig` o
254
254
  | `toolbar_narrow_breakpoint` | `number` | &mdash; | Pixel width below which the toolbar collapses into the overflow toggle. |
255
255
  | `toolbar_priority` | `Record<string, number>` | &mdash; | Per-button overflow priority &mdash; higher values stay visible longer as the toolbar narrows. |
256
256
  | `menubar` | `boolean` | `false` | Show a TinyMCE-style menu bar above the toolbar. |
257
- | `contextmenu` | `boolean \| string` | `''` | Enable a right-click context menu. Pass a button-list string to customize its contents. |
257
+ | `contextmenu` | `boolean \| string` | `''` | Right-click menu. A string naming `table` (or `true`) opens the table menu on a right-click in a table. Off by default, because it replaces the browser's menu and its spelling suggestions &mdash; see [Tables](#tables). |
258
+ | `table_toolbar` | `string \| false` | *(TinyMCE defaults)* | Buttons of the toolbar that floats above a table while the cursor is in it, as a toolbar string. `false` turns it off. Off by default in the basic editor. |
259
+ | `table_grid` | `boolean` | `true` | Insert tables from a size grid in the table menu. `false` opens the Insert table dialog instead. |
260
+ | `table_default_attributes` | `Record<string, string>` | `{ border: '1' }` | Attributes of a table the user inserts (`border`, `cellpadding`, `cellspacing`). |
261
+ | `table_default_styles` | `Record<string, string>` | `{ 'border-collapse': 'collapse', width: '100%' }` | Style of a table the user inserts. |
262
+ | `table_default_header_rows` | `number` | `0` | Header rows of an inserted table. |
263
+ | `table_default_header_cols` | `number` | `0` | Header columns of an inserted table. |
264
+ | `table_tab_navigation` | `boolean` | `true` | Tab and Shift+Tab move between table cells. `false` makes them indent the paragraph in the cell. |
258
265
  | `quickbars_selection_toolbar` | `string` | `'bold italic \| quicklink blockquote'` | Inline floating toolbar shown over a text selection. |
259
266
  | `quickbars_image_toolbar` | `boolean` | `false` | Inline floating toolbar shown when an image is selected. |
260
267
  | `quickbars_insert_toolbar` | `boolean` | `false` | Inline floating toolbar shown on empty lines for quick insertion. |
268
+ | `object_resizing` | `boolean \| string` | `true` | Show drag handles on a selected image to resize it. `false` turns resizing off; a CSS selector string (TinyMCE-style, e.g. `'img[alt]'`) limits it to the images that match &mdash; see [Resizing Images](#resizing-images). |
269
+ | `resize_img_proportional` | `boolean` | `true` | Corner handles keep the image's aspect ratio. Holding Shift while dragging does the opposite for that drag. |
261
270
  | `elementpath` | `boolean` | `false` | Show a breadcrumb of the node path at the cursor in the status bar. |
262
271
  | `valid_children` | `string` | &mdash; | TinyMCE-style rules controlling which child elements are allowed. |
263
272
  | `auto_focus` | `string` | &mdash; | Auto-focus on init. |
@@ -267,6 +276,7 @@ The `config` prop (or `useEditor`'s `config` option) accepts an `EditorConfig` o
267
276
  | `entity_encoding` | `'raw' \| 'named' \| 'numeric'` | `'raw'` | HTML entity encoding mode. |
268
277
  | `paste_from_office` | `boolean` | `true` | Clean and preserve formatting when pasting from Microsoft Word/Excel. Pasted list indentation is normalized either way &mdash; see [Lists & Indentation](#lists--indentation). |
269
278
  | `paste_markdown` | `boolean` | `false` | Start with paste-as-Markdown on, so a paste is read as Markdown and inserted as real formatting. Toggle at runtime via `getEditor()?.setPasteMarkdown()` or the `pastemarkdown` toolbar button &mdash; see [Pasting Markdown](#pasting-markdown). |
279
+ | `quote_marker_class` | `string` | &mdash; | Class that marks a reply's quoted original. A `<blockquote>` or `<div>` whose class is exactly this value keeps the class and its margin, padding and border in `getContent()`, so the quote can be found again. One class name; off when unset or empty. See the [engine docs](https://github.com/mdaemon-technologies/MDHTMLEditor#quoted-original-of-a-reply). |
270
280
  | `speech_to_text` | `boolean` | `true` | Enable the `speechtotext` and `dictate` toolbar buttons (requires the Web Speech API). |
271
281
  | `convert_unsafe_embeds` | `boolean` | `true` | Sanitize embedded content. |
272
282
  | `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>` &mdash; 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. A block is only "empty" if it has no visible content &mdash; a `<div>&nbsp;</div>` spacer counts as content and is left alone. Set `false` to pass content through unchanged in both directions. |
@@ -281,8 +291,11 @@ The `config` prop (or `useEditor`'s `config` option) accepts an `EditorConfig` o
281
291
  | `images_file_types` | `string` | *(permissive)* | Comma/space-separated accepted extensions (e.g. `'jpg,jpeg,png,gif'`). |
282
292
  | `images_upload_validate` | `(file: File) => string \| null` | &mdash; | Pre-upload hook; return a message to reject the file, or `null` to allow. |
283
293
  | `images_upload_error` | `(message: string) => void` | &mdash; | Caller-supplied alert for drag-drop/paste upload rejections and failures. |
294
+ | `images_upload_error_message` | `(response: unknown, status: number) => string \| null \| undefined` | &mdash; | Words the message for a failed upload from the server's reply (parsed JSON body, or `null`, and the HTTP status). Return `null`/`undefined` for the editor's own translated message &mdash; see [Image Upload](#image-upload). |
284
295
  | `setup` | `(editor) => void` | &mdash; | Pre-init callback for registering custom toolbar buttons. |
285
296
 
297
+ The table dialogs and pickers have further options (`table_appearance_options`, `table_advtab`, `table_row_advtab`, `table_cell_advtab`, `table_border_widths`, `table_border_styles`, `table_background_color_map`, `table_border_color_map`) &mdash; see the [engine docs](https://github.com/mdaemon-technologies/MDHTMLEditor#tables).
298
+
286
299
  ### Dark Theme
287
300
 
288
301
  ```tsx
@@ -325,7 +338,7 @@ Opt into the additional editing surfaces exposed by `@mdaemon/html-editor` 1.6.0
325
338
  <Editor
326
339
  config={{
327
340
  menubar: true, // menu bar above the toolbar
328
- contextmenu: true, // right-click context menu
341
+ contextmenu: 'table', // right-click table menu in a table
329
342
  quickbars_selection_toolbar: 'bold italic | quicklink blockquote',
330
343
  quickbars_image_toolbar: true, // floating toolbar when an image is selected
331
344
  elementpath: true, // breadcrumb status bar at the cursor
@@ -333,7 +346,8 @@ Opt into the additional editing surfaces exposed by `@mdaemon/html-editor` 1.6.0
333
346
  />
334
347
  ```
335
348
 
336
- `contextmenu` also accepts a button-list string to customize its contents, and
349
+ `contextmenu` replaces the browser's menu (and its spelling suggestions) only for a
350
+ right-click in a table; Ctrl+right-click still shows the browser's menu.
337
351
  `quickbars_insert_toolbar` shows a floating insert toolbar on empty lines.
338
352
 
339
353
  ### Read-Only Mode
@@ -434,7 +448,7 @@ The `indent` / `outdent` toolbar buttons, `execCommand('indent' | 'outdent')`, a
434
448
  | Paragraph, heading | Adds a `margin-left` in 40px steps (max 400px) | Removes one step |
435
449
  | Code block | Inserts a literal tab | Nothing |
436
450
 
437
- Inside a list the indent is written to the `<li>` rather than to the paragraph inside it, so the bullet or number moves with the text. Because it is an inline `margin-left`, it survives in the exported HTML &mdash; in a mail client, say &mdash; without the editor's stylesheet. In a table, <kbd>Tab</kbd> still moves between cells; the toolbar buttons indent the paragraph in the cell.
451
+ Inside a list the indent is written to the `<li>` rather than to the paragraph inside it, so the bullet or number moves with the text. Because it is an inline `margin-left`, it survives in the exported HTML &mdash; in a mail client, say &mdash; without the editor's stylesheet. In a table, <kbd>Tab</kbd> still moves between cells (unless `table_tab_navigation: false`); the toolbar buttons indent the paragraph in the cell.
438
452
 
439
453
  ### Ordered List Numbering
440
454
 
@@ -687,7 +701,12 @@ Buttons after `||` begin collapsed behind a toggle (`...`) button.
687
701
  | `undo` | Undo |
688
702
  | `redo` | Redo |
689
703
  | `image` | Insert image (upload or URL) |
690
- | `table` | Table dropdown (insert table + row/column/cell operations) |
704
+ | `table` | Table menu: Insert table size grid, Cell / Row / Column submenus, Table properties, caption and Delete table (see [Tables](#tables)) |
705
+ | `tableinsertdialog`, `tableprops`, `tabledelete`, `tablecellprops`, `tablerowprops`, `tablemergecells`, `tablesplitcells` | Insert table dialog, properties dialogs, delete table, merge and split cells |
706
+ | `tableinsertrowbefore`, `tableinsertrowafter`, `tabledeleterow`, `tableinsertcolbefore`, `tableinsertcolafter`, `tabledeletecol` | Insert and delete rows and columns |
707
+ | `tablecutrow`, `tablecopyrow`, `tablepasterowbefore`, `tablepasterowafter`, `tablecutcol`, `tablecopycol`, `tablepastecolbefore`, `tablepastecolafter` | Row and column clipboard |
708
+ | `tablecaption`, `tablerowheader`, `tablecolheader` | Toggle caption, header row, header column |
709
+ | `tablecellvalign`, `tablecellborderwidth`, `tablecellborderstyle`, `tablecellbackgroundcolor`, `tablecellbordercolor` | Cell vertical alignment, border and background menus and pickers |
691
710
  | `hr` | Insert horizontal rule |
692
711
  | `charmap` | Special character picker |
693
712
  | `emoticons` | Emoji picker with search |
@@ -695,7 +714,7 @@ Buttons after `||` begin collapsed behind a toggle (`...`) button.
695
714
  | `link` | Insert/edit hyperlink (with the caret on a link, edits that link in place) |
696
715
  | `unlink` | Remove the link at the cursor |
697
716
  | `anchor` | Insert a named anchor (`<a id>` target) |
698
- | `codesample` | Toggle code sample |
717
+ | `codesample` | Toggle code sample on the lines the selection touches (lines split by Shift+Enter outside the selection stay text) |
699
718
  | `fullscreen` | Toggle fullscreen |
700
719
  | `preview` | Preview in new window (the window carries a Content Security Policy that blocks script) |
701
720
  | `searchreplace` | Find & Replace dialog |
@@ -726,6 +745,79 @@ SVGs are automatically sanitized (script tags, event handlers, and dangerous ele
726
745
  />
727
746
  ```
728
747
 
748
+ Upload failures are shown in the editor's language. When your server explains a refusal in its reply, `images_upload_error_message` lets you word the message yourself. It receives the parsed JSON body (`null` when the body is not JSON) and the HTTP status, and returns the message to show, or `null`/`undefined` to keep the editor's own. It is not called for a network error or an aborted request. The message is shown in the image dialog, and passed to `images_upload_error` for a dropped or pasted image.
749
+
750
+ ```tsx
751
+ <Editor
752
+ config={{
753
+ images_upload_url: '/api/upload',
754
+ // The server answers a refusal with HTTP 200 and {"error": "<reason>"}
755
+ images_upload_error_message: (response) => {
756
+ const error = (response as { error?: unknown } | null)?.error;
757
+ return typeof error === 'string' ? error : null;
758
+ },
759
+ images_upload_error: (message) => showAlert(message),
760
+ }}
761
+ />
762
+ ```
763
+
764
+ ### Resizing Images
765
+
766
+ Click an image in the full editor to select it, and drag one of the eight handles to resize it. Corners keep the aspect ratio (hold Shift to stretch freely), sides change only the width or the height, and Escape cancels the drag. The new size is saved in the image's `width` and `height` attributes, as TinyMCE does, as one undo step that fires `onDirty` and `onChange` like any other edit. Handles are hidden in read-only mode.
767
+
768
+ Resizing is on by default. Set `object_resizing: false` to turn it off, or pass a CSS selector to allow it only for the images that match. The `objectresizestart` and `objectresized` events have no props; register them on the editor in `onInit`:
769
+
770
+ ```tsx
771
+ <Editor
772
+ config={{
773
+ object_resizing: 'img[alt]', // or true (default) / false
774
+ resize_img_proportional: true, // corners keep the aspect ratio (default)
775
+ }}
776
+ onInit={(editor) => {
777
+ editor.on('objectresized', ({ width, height }) => {
778
+ console.log(`Image resized to ${width} × ${height}`);
779
+ });
780
+ }}
781
+ />
782
+ ```
783
+
784
+ Images are inline, as in TinyMCE and mail HTML: a link around an image is kept, and an `<img>` that is not already in a line of text is put in a `<p>` (or a `<div>` with `forced_root_block: 'div'`).
785
+
786
+ ### Image Maps
787
+
788
+ In the full editor, an `<img usemap="#name">` and its `<map name="name">` with the `<area>` hotspots are kept through loading, `insertContent()`, paste and the Source view, with their values checked (an area `href` gets the same check as a link's). While editing, a map is shown as a small marker and its hotspots do nothing; they work in the saved HTML. Maps have no toolbar button &mdash; edit them in the Source view. An image with a map has no resize handles. The basic editor has no images, so it drops maps. See the [engine docs](https://github.com/mdaemon-technologies/MDHTMLEditor#image-maps) for what is kept.
789
+
790
+ ## Tables
791
+
792
+ Table editing follows TinyMCE's table plugin. The `table` toolbar button opens the table menu: Insert table (a 10×10 size grid, or a dialog with `table_grid: false`), Cell, Row and Column submenus, Table properties, Toggle caption and Delete table. The [table buttons](#available-toolbar-buttons) can also go in the `toolbar` string. While the cursor is in a table, a context toolbar floats above it (`table_toolbar`), and `contextmenu: 'table'` adds a right-click table menu.
793
+
794
+ A new table is inserted with `border="1"` and `border-collapse: collapse; width: 100%`, so its borders show in mail clients, and with no header row unless `table_default_header_rows` / `table_default_header_cols` ask for one. Tables keep their borders, padding, spacing, sizes, alignment, backgrounds and caption in `getContent()`, including the legacy `bgcolor`, `valign`, `width`, `height` and `align` attributes common in email.
795
+
796
+ Table commands, queries and events have no props; reach them through the editor from `onInit` or `getEditor()`:
797
+
798
+ ```tsx
799
+ <Editor
800
+ config={{
801
+ table_toolbar: 'tableprops tabledelete | tableinsertrowafter tabledeleterow',
802
+ table_default_header_rows: 1,
803
+ contextmenu: 'table',
804
+ }}
805
+ onInit={(editor) => {
806
+ editor.on('tablemodified', ({ table, structure, style }) => {
807
+ console.log('Table changed', { structure, style });
808
+ });
809
+ }}
810
+ />
811
+
812
+ // Later, from a ref
813
+ const editor = editorRef.current?.getEditor();
814
+ editor?.execCommand('mceInsertTable', false, { rows: 3, columns: 4 });
815
+ editor?.isTableCommandEnabled('mceTableMergeCells'); // would merging apply?
816
+ editor?.queryCommandValue('mceTableCellType'); // 'th', 'td', or '' outside a table
817
+ ```
818
+
819
+ A table command returns `false` when it did not apply (outside a table, read-only, or nothing to do). See the [engine docs](https://github.com/mdaemon-technologies/MDHTMLEditor#tables) for every command, dialog, and the formatting a table keeps.
820
+
729
821
  ## Localization
730
822
 
731
823
  ### Set Language at Init
@@ -745,6 +837,8 @@ setTranslate((key) => myTranslations[key] ?? key);
745
837
  <Editor translate={(key) => myTranslations[key] ?? key} config={{}} />
746
838
  ```
747
839
 
840
+ The built-in locale is the fallback: when your function returns an empty string (or, through `setTranslate()`, `null` or `undefined`), the editor shows its own translation for that key. A custom function therefore only needs the strings it wants to change. Keys with a placeholder, such as `Upload failed: {status}` and `Confidence: {percent}%`, must keep it in the translation.
841
+
748
842
  ### Change Language at Runtime
749
843
 
750
844
  ```tsx
@@ -754,6 +848,8 @@ const editorRef = useRef<EditorRef>(null);
754
848
  editorRef.current?.getEditor()?.setLanguage('fr');
755
849
  ```
756
850
 
851
+ `setLanguage()` keeps a custom translate function; it changes only the fallback locale.
852
+
757
853
  ### Supported Languages
758
854
 
759
855
  | Code | Language | Code | Language |
@@ -764,15 +860,15 @@ editorRef.current?.getEditor()?.setLanguage('fr');
764
860
  | `zh` | Chinese | `pt` | Portugues |
765
861
  | `cs` | Cesky | `ro` | Romana |
766
862
  | `da` | Dansk | `ru` | Russian |
767
- | `en-gb` | English (UK) | `sr` | Srpski |
768
- | `fi` | Suomi | `sl` | Slovenscina |
769
- | `fr` | Francais | `es` | Espanol |
770
- | `fr-ca` | Canadien francais | `sv` | Svenska |
771
- | `de` | Deutsch | `zh-tw` | Chinese (Taiwan) |
772
- | `el` | Greek | `th` | Thai |
773
- | `hu` | Magyar | `tr` | Turkce |
774
- | `id` | Bahasa Indonesia | `vi` | Tieng Viet |
775
- | `it` | Italiano | | |
863
+ | `en-gb` | English (UK) | `sr` | Srpski (Cyrillic) |
864
+ | `fi` | Suomi | `sr-latn` | Srpski (latinica) |
865
+ | `fr` | Francais | `sl` | Slovenscina |
866
+ | `fr-ca` | Canadien francais | `es` | Espanol |
867
+ | `de` | Deutsch | `sv` | Svenska |
868
+ | `el` | Greek | `zh-tw` | Chinese (Taiwan) |
869
+ | `hu` | Magyar | `th` | Thai |
870
+ | `id` | Bahasa Indonesia | `tr` | Turkce |
871
+ | `it` | Italiano | `vi` | Tieng Viet |
776
872
  | `ja` | Japanese | | |
777
873
  | `ko` | Korean | | |
778
874
 
@@ -799,7 +895,8 @@ setGetFileSrc((path) => `https://cdn.example.com${path}`);
799
895
  | Ctrl/Cmd + Z | Undo |
800
896
  | Ctrl/Cmd + Shift + Z | Redo |
801
897
  | Ctrl/Cmd + F | Find & Replace |
802
- | Tab | Increase indent &mdash; nests or indents a list item, moves to the next table cell, inserts a tab in a code block, or indents the block ([details](#lists--indentation)) |
898
+ | Ctrl + Alt + C (Cmd + Option + C on macOS) | Toggle code sample |
899
+ | Tab | Increase indent &mdash; nests or indents a list item, moves to the next table cell (unless `table_tab_navigation: false`), inserts a tab in a code block, or indents the block ([details](#lists--indentation)) |
803
900
  | Shift + Tab | Decrease indent &mdash; un-nests a list item, moves to the previous table cell, or removes block indent ([details](#lists--indentation)) |
804
901
  | Esc, then Tab | Move focus to the next element outside the editor (keyboard escape) |
805
902
  | Esc, then Shift + Tab | Move focus to the previous element outside the editor |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdaemon/html-editor-react",
3
- "version": "1.10.0",
3
+ "version": "1.12.0",
4
4
  "description": "React wrapper for MDHTMLEditor",
5
5
  "homepage": "https://github.com/mdaemon-technologies/MDHTMLEditor-react",
6
6
  "repository": {
@@ -56,7 +56,7 @@
56
56
  "react-dom": "^19.0.0 || ^18.0.0"
57
57
  },
58
58
  "dependencies": {
59
- "@mdaemon/html-editor": "^1.14.0",
59
+ "@mdaemon/html-editor": "^1.17.0",
60
60
  "@tiptap/react": "^3.32.0"
61
61
  },
62
62
  "devDependencies": {