3.19.5
3.19.5
π New Feature
- Added
cleanHTML.disableCleanFilter:Set<string>
options. Node filtering rules that do not need to be applied to content
The full list of rules is generated dynamically from the folder
https://github.com/xdan/jodit/tree/master/src/plugins/clean-html/helpers/visitor/filters - Added
allowCommandsInReadOnly:string[]
options. Allow execute commands in readonly mode.
activeButtonsInReadOnly: ['source', 'preview'] is not working. #878const editor = Jodit.make('#editor', { readonly: true, allowCommandsInReadOnly: ['alert'] }); editor.registerCommand('alert', (_, _2, text) => { alert(text); }); editor.execCommand('alert', '', 'Hello!');
π Bug Fix
- Pasting html breaks full screen mode #864
- Using BR tag as enter element results reset of cursor while typing in newlines. #860
Fixed bugs with invisible aand empty nodes. - Adding paragraph when copying and pasting with little text #851
Optionsselect.normalizeSelectionBeforeCutAndCopy
now default is false - Jodit-selection-marker span appears after clicking Undo button. #880
3.19.4
π New Feature
- Added [[IUploader.getDisplayName]] option. Allow change file name before display it inside editor.
Can we customize uploaded file's name? #869
Jodit.make('#editor', {
uploader: {
url: 'https://sitename.net/jodit/connector/index.php?action=fileUpload',
getDisplayName: (_, name) => 'File:' + name
}
});
- Added
cleanHTML.useIframeSandbox
:boolean
option(default: false). Use iframe[sandbox] to paste HTML code into the editor to check it for safety.
Allows you not to run scripts and handlers, but it works much slower
π Bug Fix
- applyLink event is only fired when link is inserted via menu button but not when it is pasted #874
- Dialogs don't work inside Shadow DOM #866
- Popups don't work inside Shadow DOM #865
- Pb with cleanHTML.safeJavaScriptLink option #862
3.19.3
π Bug Fix
- Quick fix bug with webpack output.clean=true.
3.19.2
π Bug Fix
- Big bugfix in es2018 version, sideEffect cut all styles and configs
3.19.1
π Internal
- Plugin icons moved to their respective plugins
- Used plugin
webpack.ids.DeterministicModuleIdsPlugin
for more reliable sharing of exported module names between builds.
Now you can include plugins from 'es5' in the assembly for 'es2018.en'. - Deps
@types/node ^17.0.36 β ^17.0.41 @typescript-eslint/eslint-plugin ^5.27.0 β ^5.27.1 @typescript-eslint/parser ^5.27.0 β ^5.27.1 cssnano-preset-advanced ^5.3.6 β ^5.3.7 eslint ^8.16.0 β ^8.17.0 lint-staged ^12.4.3 β ^13.0.0 terser-webpack-plugin ^5.3.1 β ^5.3.3 typescript ^4.7.2 β ^4.7.3 webpack ^5.72.1 β ^5.73.0 webpack-dev-server ^4.9.0 β ^4.9.2 core-js ^3.22.7 β ^3.22.8
3.18.7
π New Feature
- Allow custom resizing with Alt btn How to resize image with the handle bars without fixed aspect ratio #839
π Bug Fix
- Multiple modals 'Paste as HTML' after longer pressing ctrl+v #849
- All added videos are deleted when you click Delete or Backspace #847
3.18.6
π New Feature
- Separate plugin for voice recognition and input of recognized text into the editor.
Feature Request: Add ability for user to dictate using local device microphone as input #828This plugin is not included in the main Jodit build. It must be connected separately ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅
3.18.5
π₯ Breaking Change
- Added default table style to
createAttributes
option:
Jodit.defaultOptions.createAttributes = {
table: {
style: 'border-collapse:collapse;width: 100%;'
}
};
π Bug Fix
- Fixed a bug where the download cancellation business exceptions were shown as errors in the file browser. Also fixed uncatchable exceptions inside Async.promise
- Fixed Eraser delete "" tag! #705 #845 Thanks @s-renier-taonix-fr
- Update Docker Env #844 Thanks @s-renier-taonix-fr
- Fixed table default styles Jodit doesn't keep table borders #295
- All td elements got double border style. #842