wangeditor-next/wangEditor-next
 Watch   
 Star   
 Fork   
18 days ago
wangEditor-next

v5.7.13

What's Changed

  • fix: guard getTagName against non-element nodes so parsing HTML with text/comment nodes no longer throws "Cannot read properties of undefined (reading 'toLowerCase')"
Package versions
Package Version
@wangeditor-next/basic-modules 3.0.3
@wangeditor-next/editor 5.7.13
@wangeditor-next/plugin-attachment 2.0.13
@wangeditor-next/plugin-ctrl-enter 2.0.13
@wangeditor-next/upload-image-module 3.0.3
26 days ago
wangEditor-next

v5.7.12

What's Changed

  • [editor-for-react] @wangeditor-next/editor@5.7.12
  • [table-module] Fix Word table imports so percentage column widths are converted to usable pixel widths.
Package versions
Package Version
@wangeditor-next/editor 5.7.12
@wangeditor-next/editor-for-react 2.0.3
@wangeditor-next/plugin-attachment 2.0.12
@wangeditor-next/plugin-ctrl-enter 2.0.12
@wangeditor-next/table-module 3.0.4
29 days ago
wangEditor-next

v5.7.11

What's Changed

  • Fix Word table imports so pt column widths are converted to CSS pixels.
  • Improve table and cell property modal controls.
Package versions
Package Version
@wangeditor-next/editor 5.7.11
@wangeditor-next/plugin-attachment 2.0.11
@wangeditor-next/plugin-ctrl-enter 2.0.11
@wangeditor-next/table-module 3.0.3
2026-06-03 10:40:33
wangEditor-next

v5.7.10

What's Changed

  • fix IME composition commit after undo by recovering selection when editor selection is null to avoid placeholder overlap and dropped CJK input in demo flows
Package versions
Package Version
@wangeditor-next/core 1.9.4
@wangeditor-next/editor 5.7.10
@wangeditor-next/plugin-attachment 2.0.10
@wangeditor-next/plugin-ctrl-enter 2.0.10
2026-06-01 14:17:46
wangEditor-next

v5.7.9

What's Changed

  • fix beforeinput selection recovery after undo on void blocks (e.g. divider and code block) to avoid stale DOM range crashes and dropped input in demo flows
Package versions
Package Version
@wangeditor-next/core 1.9.3
@wangeditor-next/editor 5.7.9
@wangeditor-next/plugin-attachment 2.0.9
@wangeditor-next/plugin-ctrl-enter 2.0.9
2026-06-01 11:08:00
wangEditor-next

v5.7.8

What's Changed

  • [basic-modules] chore: relax internal peer dependency ranges to reduce forced lockstep upgrades.
  • [core] fix beforeinput target range mapping after divider undo to tolerate stale DOM nodes and avoid "Cannot resolve a Slate node from DOM node" errors when typing
  • [table-module] Fix table import for width:auto; table-layout: fixed HTML so initial column widths are auto-fitted from rendered content when no explicit column/cell widths are provided.
  • [table-module] Fix regression in table full-width workflow: tableFullWidth now toggles between 100% and auto, and manual column resize in 100% mode switches table width back to auto while applying rendered-width-based column updates.
Package versions
Package Version
@wangeditor-next/basic-modules 3.0.2
@wangeditor-next/code-highlight 3.0.2
@wangeditor-next/core 1.9.2
@wangeditor-next/editor 5.7.8
@wangeditor-next/editor-for-react 2.0.2
@wangeditor-next/list-module 3.0.2
@wangeditor-next/plugin-attachment 2.0.8
@wangeditor-next/plugin-ctrl-enter 2.0.8
@wangeditor-next/plugin-float-image 2.0.8
@wangeditor-next/plugin-formula 2.0.8
@wangeditor-next/plugin-link-card 2.0.8
@wangeditor-next/plugin-markdown 2.0.8
@wangeditor-next/plugin-mention 2.0.8
@wangeditor-next/table-module 3.0.2
@wangeditor-next/upload-image-module 3.0.2
@wangeditor-next/video-module 3.0.2
@wangeditor-next/yjs 2.0.2
@wangeditor-next/yjs-for-react 2.0.2
@wangeditor-next/yjs-for-vue 2.0.2
2026-05-26 14:52:49
wangEditor-next

v5.7.7

What's Changed

  • [core] Added insertTable.widthExportMode with adaptive | explicit.
  • [core] Default mode remains explicit for backward compatibility.
  • [core] adaptive mode can be enabled to keep width:auto on table export.
  • [plugin-attachment] feat(plugin): add attachment and ctrl-enter plugin packages
  • [plugin-formula] fix formula absolute value delimiter rendering by switching formula card output to htmlAndMathml and documenting required css import
Package versions
Package Version
@wangeditor-next/basic-modules 3.0.1
@wangeditor-next/code-highlight 3.0.1
@wangeditor-next/core 1.9.1
@wangeditor-next/editor 5.7.7
@wangeditor-next/list-module 3.0.1
@wangeditor-next/plugin-attachment 2.0.7
@wangeditor-next/plugin-ctrl-enter 2.0.7
@wangeditor-next/plugin-float-image 2.0.7
@wangeditor-next/plugin-formula 2.0.7
@wangeditor-next/plugin-link-card 2.0.7
@wangeditor-next/plugin-markdown 2.0.7
@wangeditor-next/plugin-mention 2.0.7
@wangeditor-next/table-module 3.0.1
@wangeditor-next/upload-image-module 3.0.1
@wangeditor-next/video-module 3.0.1
@wangeditor-next/yjs 2.0.1
@wangeditor-next/yjs-for-react 2.0.1
@wangeditor-next/yjs-for-vue 2.0.1
2026-05-25 10:30:16
wangEditor-next

v5.7.6

What's Changed

  • [basic-modules] trigger custom link check before empty-url early return for insert and edit link flows
  • [basic-modules] upgrade all internal slate dependency and peer dependency ranges from ^0.123.0 to ^0.124.0
  • [basic-modules] remove dual installation of slate@0.123.x and slate@0.124.x in workspace builds
  • [basic-modules] fix @wangeditor-next/yjs-for-react build failures caused by cross-version Slate type incompatibilities
  • [basic-modules] add optional code-block copy button support via MENU_CONF.codeBlock.showCopyButton
  • [basic-modules] limit indent behavior to paragraph and header nodes to avoid affecting other block elements
  • [core] add editor.getHtmlWithId(idKey?) to export HTML with generated unique element ids
  • [core] bump @uppy/core and @uppy/xhr-upload in @wangeditor-next/editor to ^5.0.0
  • [core] extend peer dependency ranges in core, upload-image-module, and video-module to support both Uppy v2 and v5
  • [core] normalize upload header values to strings for stricter Uppy v5 XHR typings
  • [core] add a guarded AbortSignal.any fallback for environments that do not implement it
  • [core] add clearHistory api on editor instances to clear slate undo/redo stacks
  • [editor-for-react] add built-in loading/loadingText overlay props on Editor to avoid wrapper-induced DOM changes
Package versions
Package Version
@wangeditor-next/basic-modules 3.0.0
@wangeditor-next/code-highlight 3.0.0
@wangeditor-next/core 1.9.0
@wangeditor-next/editor 5.7.6
@wangeditor-next/editor-for-react 2.0.1
@wangeditor-next/list-module 3.0.0
@wangeditor-next/plugin-float-image 2.0.6
@wangeditor-next/plugin-formula 2.0.6
@wangeditor-next/plugin-link-card 2.0.6
@wangeditor-next/plugin-markdown 2.0.6
@wangeditor-next/plugin-mention 2.0.6
@wangeditor-next/table-module 3.0.0
@wangeditor-next/upload-image-module 3.0.0
@wangeditor-next/video-module 3.0.0
@wangeditor-next/yjs 2.0.0
@wangeditor-next/yjs-for-react 2.0.0
@wangeditor-next/yjs-for-vue 2.0.0
2026-05-24 00:06:15
wangEditor-next

v5.7.5

What's Changed

  • [core] add configurable table column insert position (before/after current column)
  • [editor] Exclude .map files from npm publish artifacts to reduce install size.
  • [editor] Upload editor sourcemaps as GitHub Release assets for debugging workflows.
  • [editor] Add a package-size CI guard (pnpm run check:editor:pack-size) to prevent regressions.
  • [table-module] fix table caption parse/render/toHtml round-trip support
Package versions
Package Version
@wangeditor-next/basic-modules 2.0.5
@wangeditor-next/code-highlight 2.0.5
@wangeditor-next/core 1.8.5
@wangeditor-next/editor 5.7.5
@wangeditor-next/list-module 2.0.5
@wangeditor-next/plugin-float-image 2.0.5
@wangeditor-next/plugin-formula 2.0.5
@wangeditor-next/plugin-link-card 2.0.5
@wangeditor-next/plugin-markdown 2.0.5
@wangeditor-next/plugin-mention 2.0.5
@wangeditor-next/table-module 2.0.5
@wangeditor-next/upload-image-module 2.0.5
@wangeditor-next/video-module 2.0.5
@wangeditor-next/yjs 1.0.5
@wangeditor-next/yjs-for-react 1.0.5
@wangeditor-next/yjs-for-vue 1.0.5
2026-05-22 16:47:04
wangEditor-next

v5.7.4

What's Changed

  • [basic-modules] feat(format-painter): support copying and applying block-level formats (heading, blockquote, list, todo) in issue 774.
  • [basic-modules] feat(image): add built-in image preview menu in hoverbar to open image src directly.
  • [basic-modules] Fix blockquote HTML parsing for imported content where line breaks are represented by block children (for example blockquote > div from Feishu docs). The parser now flattens block children into newline-separated content while preserving inline text marks.
  • [core] feat(list): add built-in lower-alpha ordered-list menu key (numberedListLowerAlpha) for issue 702.
  • [core] fix(core): map Shift+Enter to soft line breaks (\n -> <br>) instead of paragraph breaks.
  • [core] fix(core): preserve template-wrapped clipboard html by safely unwrapping template content during sanitize.
  • [core] fix: scope Slate DOM mapping lookup to the active editor root so duplicated legacy ids do not break DOM-to-Slate resolution when wangEditor and wangEditor-next coexist.
  • [editor] fix(table): make tableFullWidth switch table nodes to responsive width: 100% mode instead of one-time pixel recalculation, and add regression coverage for width round-trip plus container-resize behavior.
  • [list-module] feat(list): support ordered list start and type in list parsing, rendering, and HTML serialization.
  • [list-module] Fix nested list import/export so standard HTML nesting is preserved. li > ul/ol structures are now parsed into list levels correctly, and list serialization outputs nested lists inside their parent <li> instead of sibling containers.
Package versions
Package Version
@wangeditor-next/basic-modules 2.0.4
@wangeditor-next/code-highlight 2.0.4
@wangeditor-next/core 1.8.4
@wangeditor-next/editor 5.7.4
@wangeditor-next/list-module 2.0.4
@wangeditor-next/plugin-float-image 2.0.4
@wangeditor-next/plugin-formula 2.0.4
@wangeditor-next/plugin-link-card 2.0.4
@wangeditor-next/plugin-markdown 2.0.4
@wangeditor-next/plugin-mention 2.0.4
@wangeditor-next/table-module 2.0.4
@wangeditor-next/upload-image-module 2.0.4
@wangeditor-next/video-module 2.0.4
@wangeditor-next/yjs 1.0.4
@wangeditor-next/yjs-for-react 1.0.4
@wangeditor-next/yjs-for-vue 1.0.4