Browse Source

Removed 'stringifyView' filter wrapper.

Krzysztof Krztoń 7 years ago
parent
commit
3d5d75fcd5
1 changed files with 0 additions and 18 deletions
  1. 0 18
      packages/ckeditor5-paste-from-office/src/filters/common.js

+ 0 - 18
packages/ckeditor5-paste-from-office/src/filters/common.js

@@ -4,7 +4,6 @@
  */
 
 import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor';
-import { stringify } from '@ckeditor/ckeditor5-engine/src/dev-utils/view';
 
 const htmlDataProcessor = new HtmlDataProcessor();
 
@@ -92,23 +91,6 @@ export function stylesToStylesheet( data, domDocument ) {
 	return data;
 }
 
-/**
- * Stringifies provided view instance.
- *
- * @param {Object} data
- * @param {module:engine/view/view~View} data.view The {@link module:engine/view/view~View} instance.
- * @returns {Object} result
- * @returns {String|null} result.view String representing contents of a given {@link module:engine/view/view~View} instance
- * or `null` if `data.view` was not provided.
- */
-export function stringifyView( data ) {
-	if ( data.view ) {
-		data.view = stringify( data.view );
-	}
-
-	return data;
-}
-
 // Parses provided CSS string creating native `CSSStyleSheet` object.
 //
 // If available this function use shadow DOM element to parse CSS. If not it fallback to ifrmae element.