8
0
Просмотр исходного кода

Internal: Changed disabling id.

Szymon Cofalik 6 лет назад
Родитель
Сommit
e824cdf63c
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/ckeditor5-core/src/command.js

+ 2 - 2
packages/ckeditor5-core/src/command.js

@@ -120,9 +120,9 @@ export default class Command {
 		// By default commands are disabled when the editor is in read-only mode.
 		this.listenTo( editor, 'change:isReadOnly', ( evt, name, value ) => {
 			if ( value ) {
-				this.forceDisabled( 'Command:readOnlyMode' );
+				this.forceDisabled( 'readOnlyMode' );
 			} else {
-				this.clearForceDisabled( 'Command:readOnlyMode' );
+				this.clearForceDisabled( 'readOnlyMode' );
 			}
 		} );
 	}