2.17.0
New: AI Translate offers 27 target languages
- Spanish and French come first, then English, German, Italian, Portuguese, Japanese, Chinese (Simplified and Traditional), Korean, Arabic, Hindi, Russian and more.
- Applied translations carry their language in
lang. Arabic and Hebrew also getdir="rtl", so they read right to left. - An
aiToolkitResolverrequest now also names the target withlanguageLabelandlanguageCode.
Fixed: undo
- Opening and closing the HTML source view without editing added an empty undo step, so the next Undo appeared to do nothing. A visit with no edit now leaves the document untouched, and an edit made in the source is one undo step.
- Typing immediately after
setHTMLCode()now keeps its own undo step.
New: the document model runs without a browser
rte-model.jsloads in Node, in a Web Worker or on a page, and converts between HTML, Markdown and the document model.setJSON(getJSON())now keeps comments, tracked changes, mentions, math, table header rows and the other constructs it used to drop.
Other fixes
- After Escape moves focus to the toolbar, Tab now reaches the controls placed after the editor.
- Bulleted and numbered lists pasted from Word no longer keep the Word marker at the start of each item.
maxLengthnow counts the same characters as the status bar, in every browser.