Skip to content

Commit

Permalink
New version 4.2.22 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 May 19, 2024
1 parent ea365cc commit dfb7f0d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
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.21",
"version": "4.2.22",
"description": "Jodit is an awesome and useful wysiwyg editor with filebrowser",
"main": "build/jodit.min.js",
"types": "./types/index.d.ts",
Expand Down
4 changes: 1 addition & 3 deletions src/plugins/speech-recognize/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ Config.prototype.controls.speechRecognize = {
jodit.e.fire('speechRecognizeProgressResult', text)
);

api.on('error', (text: string): void =>
jodit.message.error(text)
);
api.on('error', (text: string): void => jodit.message.error(text));

button.hookStatus('beforeDestruct', () => {
dataBind(jodit, 'speech', null);
Expand Down
1 change: 0 additions & 1 deletion src/plugins/speech-recognize/speech-recognize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export class SpeechRecognizeNative extends Plugin implements IPlugin {
const { j } = this;
const { s } = j;


if (!this._checkCommand(text)) {
const { range } = s,
node = s.current();
Expand Down

0 comments on commit dfb7f0d

Please sign in to comment.