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

Remove typing state because it's been moved to the Plugin class

panr 5 лет назад
Родитель
Сommit
00b8feaeef
1 измененных файлов с 0 добавлено и 26 удалено
  1. 0 26
      packages/ckeditor5-typing/src/texttransformation.js

+ 0 - 26
packages/ckeditor5-typing/src/texttransformation.js

@@ -107,32 +107,6 @@ export default class TextTransformation extends Plugin {
 		const modelSelection = modelDocument.selection;
 
 		/**
-		 * Flag indicating whether a plugin is enabled or disabled.
-		 * A disabled plugin will not transform text.
-		 *
-		 * Plugin can be simply disabled like that:
-		 *
-		 *		// Disable the plugin so that no toolbars are visible.
-		 *		editor.plugins.get( 'TextTransformation' ).isEnabled = false;
-		 *
-		 * You can also use {@link module:utils/forcedisabledmixin~ForceDisabledMixin#forceDisabled} method.
-		 *
-		 *
-		 * @observable
-		 * @readonly
-		 * @member {Boolean} #isEnabled
-		 */
-		this.set( 'isEnabled', true );
-
-		/**
-		 * Holds identifiers for {@link module:utils/forcedisabledmixin~ForceDisabledMixin#forceDisabled} mechanism.
-		 *
-		 * @type {Set.<String>}
-		 * @private
-		 */
-		this._disableStack = new Set();
-
-		/**
 		 * Holds a set of active {@link module:typing/textwatcher~TextWatcher}
 		 *
 		 * @type {Set.<TextWatcher>}