Ver código fonte

Do not check for window.editors before creating it.

Maciej Gołaszewski 6 anos atrás
pai
commit
4f553e6b94

+ 1 - 3
packages/ckeditor5-link/tests/manual/linkdecorator.js

@@ -16,9 +16,7 @@ import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 // Just to have nicely styles switchbutton;
 import '@ckeditor/ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css';
 
-if ( !window.editors ) {
-	window.editors = {};
-}
+window.editors = {};
 
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {