Skip to content

Releases: xdan/jodit

4.12.17

07 Jun 20:01

Choose a tag to compare

🐛 Bug Fix

  • Lists / Selection: in a multi-level bulleted/numbered list, clicking to the right of an item that has a nested list put the caret at the start of the line instead of the end (a Blink/WebKit contenteditable quirk; Firefox was already correct). A :click handler now moves the caret to the end of the item's own text in that case. Fixes #1296.

4.12.16

07 Jun 19:33

Choose a tag to compare

🐛 Bug Fix

  • DTD / Formatting: applying an inline style (bold, underline, etc.) with the cursor on an empty line removed a <br> line break. The removeExtraBr cleanup (run after the style marker is inserted) deleted the following <br> even when real content followed it. It now only removes a trailing <br> (with nothing meaningful after it), so line breaks in the middle of a block are preserved. Fixes #1302.

4.12.15

07 Jun 17:33

Choose a tag to compare

🐛 Bug Fix

  • Table / Cell selection: pressing Backspace or Delete with several table cells selected threw HierarchyRequestError: ... insertNode ... #document (the normal delete ran against a collapsed, document-level range). Backspace/Delete on a multi-cell selection now clears the content of the selected cells instead. Fixes #1273.

4.12.14

07 Jun 17:22

Choose a tag to compare

🐛 Bug Fix

  • Backspace / Lists: pressing Backspace at the start of a nested list item deleted the last character of the parent item instead of removing the nesting. checkRemoveChar walked out of the nested <li>/list and removed a character from the parent item's text. It no longer crosses a list-item boundary, so the list cases handle the operation cleanly. Fixes #1277.

4.12.13

07 Jun 16:29

Choose a tag to compare

🐛 Bug Fix

  • Backspace: pressing Backspace at the start of a styled inline run (e.g. <em><strong><u>…</u></strong></em>) that was preceded by a <br> deleted the entire run instead of just the line break. checkJoinNeighbors walked up to the inline element and tried to merge its content into the preceding <br> (a void element), which removed the whole element. It now removes the <br> as a single unit. Fixes #1282.

4.12.12

07 Jun 15:20

Choose a tag to compare

🐛 Bug Fix

  • Fullsize: after entering fullsize mode, resizing the browser window, and then exiting fullsize, the editor kept the fullscreen width/height instead of returning to its original size. The resize handler (bound to window.resize when globalFullSize is on) re-saved the "original" size on every window resize, so it captured the fullscreen size. The original size is now stored only once when entering fullsize and restored on exit. Fixes #1278.

4.12.11

07 Jun 15:03

Choose a tag to compare

🐛 Bug Fix

  • Color / Apply style: applying the black font color (#000000) did nothing when the editor's default text color had been changed. The redundancy check in toggleAttributes measured the element's "native" value inside an isolated iframe, where the default text color is always the browser black — so black always matched and was skipped. The probe now inherits the editor's effective text color (the editor default is #222, not pure black), so an explicitly chosen color is applied correctly. Fixes #1311. (Note: applying black to a link now keeps the anchor and sets the color, which matches the original intent of #936.)

4.12.10

07 Jun 14:24

Choose a tag to compare

New version 4.12.10 Read more https://github.com/xdan/jodit/blob/main…

4.12.9

06 Jun 13:55

Choose a tag to compare

🐛 Bug Fix

  • Table / Cell selection: dragging and dropping the contents of several table cells into another cell threw TypeError: Cannot read properties of undefined (reading 'Infinity'). When the drag left a stale selection anchor and the drop target was no longer part of the table's formal matrix, getSelectedBound returned its Infinity sentinel and __onStopSelection dereferenced an out-of-range matrix slot. It now bails out gracefully when the selected cells can't be resolved in the table. Fixes #1357.

4.12.8

06 Jun 12:36

Choose a tag to compare

🐛 Bug Fix

  • Tooltip / Popup: tooltips and dropdown popups were mis-positioned (offset away from their button) when the editor was placed inside an ancestor with a CSS transform — e.g. a modal/flyout. Both elements use position: fixed, and a transformed ancestor becomes their containing block, so the viewport coordinates were shifted by that ancestor's top-left corner. Added a getFixedPositionOffset helper that returns the containing-block offset ({0, 0} when there is no transformed ancestor, so normal usage is unaffected) and subtracted it when positioning the tooltip and popup. Fixes #1350.