Преглед на файлове

Extended comment in region.destroy().

Aleksander Nowodzinski преди 10 години
родител
ревизия
7c7d7dfa7c
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      packages/ckeditor5-engine/src/ui/region.js

+ 2 - 1
packages/ckeditor5-engine/src/ui/region.js

@@ -44,7 +44,8 @@ CKEDITOR.define( [ 'collection', 'model' ], function( Collection, Model ) {
 		}
 
 		destroy() {
-			// Drop the reference to HTMLElement.
+			// Drop the reference to HTMLElement but don't remove it from
+			// DOM as comes as a parameter and could be a part of existing View.
 			this.el = null;
 
 			// Remove and destroy views.