diff --git a/src/view/text.js b/src/view/text.js index 2d33246cb..3e6ef0190 100644 --- a/src/view/text.js +++ b/src/view/text.js @@ -60,7 +60,9 @@ export default class Text extends Node { * @returns {Boolean} */ is( type ) { - return type === 'text' || type === 'view:text' || super.is( type ); + return type === 'text' || type === 'view:text' || + // From super.is(). This is highly utilised method and cannot call super. See ckeditor/ckeditor5#6529. + type === 'node' || type === 'view:node'; } /**