|
@@ -30,6 +30,7 @@ import { scrollViewportToShowTarget } from '@ckeditor/ckeditor5-utils/src/dom/sc
|
|
|
import { injectUiElementHandling } from './uielement';
|
|
import { injectUiElementHandling } from './uielement';
|
|
|
import { injectQuirksHandling } from './filler';
|
|
import { injectQuirksHandling } from './filler';
|
|
|
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
|
|
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
|
|
|
|
|
+import env from '@ckeditor/ckeditor5-utils/src/env';
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* Editor's view controller class. Its main responsibility is DOM - View management for editing purposes, to provide
|
|
* Editor's view controller class. Its main responsibility is DOM - View management for editing purposes, to provide
|
|
@@ -173,7 +174,11 @@ export default class View {
|
|
|
this.addObserver( KeyObserver );
|
|
this.addObserver( KeyObserver );
|
|
|
this.addObserver( FakeSelectionObserver );
|
|
this.addObserver( FakeSelectionObserver );
|
|
|
this.addObserver( CompositionObserver );
|
|
this.addObserver( CompositionObserver );
|
|
|
- this.addObserver( InputObserver );
|
|
|
|
|
|
|
+
|
|
|
|
|
+ /* istanbul ignore if */
|
|
|
|
|
+ if ( env.isAndroid ) {
|
|
|
|
|
+ this.addObserver( InputObserver );
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
// Inject quirks handlers.
|
|
// Inject quirks handlers.
|
|
|
injectQuirksHandling( this );
|
|
injectQuirksHandling( this );
|