Procházet zdrojové kódy

Add navigation commands to always enabled ones.

Maciej Gołaszewski před 6 roky
rodič
revize
5b11cd41a4

+ 1 - 1
packages/ckeditor5-restricted-editing/src/restrictededitingediting.js

@@ -36,7 +36,7 @@ export default class RestrictedEditingEditing extends Plugin {
 	constructor( editor ) {
 		super( editor );
 
-		this._alwaysEnabled = new Set( [ 'undo', 'redo' ] );
+		this._alwaysEnabled = new Set( [ 'undo', 'redo', 'goToPreviousRestrictedEditingRegion', 'goToNextRestrictedEditingRegion' ] );
 		this._allowedInException = new Set( [ 'bold', 'italic', 'link', 'input', 'delete', 'forwardDelete' ] );
 	}