@ckeditor/ckeditor5-paste-from-office 49.0.1 → 49.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1363,7 +1363,10 @@ function documentToView(htmlDocument, stylesProcessor) {
1363
1363
  const fragment = htmlDocument.createDocumentFragment();
1364
1364
  const nodes = htmlDocument.body.childNodes;
1365
1365
  while (nodes.length > 0) fragment.appendChild(nodes[0]);
1366
- return domConverter.domToView(fragment, { skipComments: true });
1366
+ return domConverter.domToView(fragment, {
1367
+ skipComments: true,
1368
+ skipProcessingInstructions: true
1369
+ });
1367
1370
  }
1368
1371
  /**
1369
1372
  * Removes all `<style>` elements found inside the `<body>` of the provided `htmlDocument`.