|
|
@@ -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';
|
|
|
}
|
|
|
|
|
|
/**
|