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

Docs: Improvements in InlineEditor#destroy.

Aleksander Nowodzinski преди 8 години
родител
ревизия
3e94b7fe23
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      packages/ckeditor5-editor-inline/src/inline.js

+ 2 - 2
packages/ckeditor5-editor-inline/src/inline.js

@@ -43,8 +43,8 @@ export default class InlineEditor extends StandardEditor {
 	 * @returns {Promise}
 	 */
 	destroy() {
-		// Cache the data, then destroy. There's no way to tell whether model->view
-		// conversion will still work properly after StandardEditor#destroy().
+		// Cache the data, then destroy.
+		// It's safe to assume that the model->view conversion will not work after super.destroy().
 		const data = this.getData();
 
 		return this.ui.destroy()