Skip to content

Commit

Permalink
New version 4.2.32 Read more https://github.com/xdan/jodit/blob/main/…
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Oct 13, 2024
1 parent 4edff13 commit 9c8c37b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
> - :house: [Internal]
> - :nail_care: [Polish]
## 4.2.31
## 4.2.32

### :rocket: New Feature

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jodit",
"version": "4.2.31",
"version": "4.2.32",
"description": "Jodit is an awesome and useful wysiwyg editor with filebrowser",
"main": "build/jodit.min.js",
"types": "./types/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/search/helpers/highlight-text-ranges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ function checkNativeSelectionMethod(
if (
jodit.o.search.useCustomHighlightAPI &&
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
globalWindow && typeof globalWindow.Highlight !== 'undefined'
globalWindow &&
typeof globalWindow.Highlight !== 'undefined'
) {
const ranges = [rng, ...restRanges].map(rng => {
const range = jodit.selection.createRange();
Expand Down

0 comments on commit 9c8c37b

Please sign in to comment.