@@ -190,7 +190,7 @@ export class Editor extends React.Component<IAllProps> {
190
190
// getBookmark throws exceptions when the editor has not been focused
191
191
// possibly only in inline mode but I'm not taking chances
192
192
cursor = localEditor . selection . getBookmark ( 3 ) ;
193
- } catch ( e ) { /* ignore */ }
193
+ } catch ( _e ) { /* ignore */ }
194
194
}
195
195
const valueCursor = this . valueCursor ;
196
196
localEditor . setContent ( this . props . value as string ) ;
@@ -201,7 +201,7 @@ export class Editor extends React.Component<IAllProps> {
201
201
localEditor . selection . moveToBookmark ( bookmark ) ;
202
202
this . valueCursor = bookmark ;
203
203
break ;
204
- } catch ( e ) { /* ignore */ }
204
+ } catch ( _e ) { /* ignore */ }
205
205
}
206
206
}
207
207
}
@@ -361,7 +361,7 @@ export class Editor extends React.Component<IAllProps> {
361
361
if ( this . valueCursor && ( ! this . inline || editor . hasFocus ( ) ) ) {
362
362
try {
363
363
editor . selection . moveToBookmark ( this . valueCursor ) ;
364
- } catch ( e ) { /* ignore */ }
364
+ } catch ( _e ) { /* ignore */ }
365
365
}
366
366
} ) ;
367
367
}
@@ -375,7 +375,7 @@ export class Editor extends React.Component<IAllProps> {
375
375
// getBookmark throws exceptions when the editor has not been focused
376
376
// possibly only in inline mode but I'm not taking chances
377
377
this . valueCursor = this . editor . selection . getBookmark ( 3 ) ;
378
- } catch ( e ) { /* ignore */ }
378
+ } catch ( _e ) { /* ignore */ }
379
379
}
380
380
}
381
381
} ;
@@ -498,6 +498,7 @@ export class Editor extends React.Component<IAllProps> {
498
498
target . value = this . getInitialValue ( ) ;
499
499
}
500
500
501
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
501
502
tinymce . init ( finalInit ) ;
502
503
} ;
503
504
}
0 commit comments