@ckeditor/ckeditor5-engine 43.0.0-alpha.5 → 43.0.0-alpha.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-engine",
3
- "version": "43.0.0-alpha.5",
3
+ "version": "43.0.0-alpha.6",
4
4
  "description": "The editing engine of CKEditor 5 – the best browser-based rich text editor.",
5
5
  "keywords": [
6
6
  "wysiwyg",
@@ -24,7 +24,7 @@
24
24
  "type": "module",
25
25
  "main": "src/index.js",
26
26
  "dependencies": {
27
- "@ckeditor/ckeditor5-utils": "43.0.0-alpha.5",
27
+ "@ckeditor/ckeditor5-utils": "43.0.0-alpha.6",
28
28
  "lodash-es": "4.17.21"
29
29
  },
30
30
  "author": "CKSource (http://cksource.com/)",
@@ -380,7 +380,16 @@ export default class DomConverter {
380
380
  !!childView.getCustomProperty('dataPipeline:transparentRendering') &&
381
381
  !first(childView.getAttributes());
382
382
  if (transparentRendering && this.renderingMode == 'data') {
383
- yield* this.viewChildrenToDom(childView, options);
383
+ // `RawElement` doesn't have #children defined, so they need to be temporarily rendered
384
+ // and extracted directly.
385
+ if (childView.is('rawElement')) {
386
+ const tempElement = this._domDocument.createElement(childView.name);
387
+ childView.render(tempElement, this);
388
+ yield* [...tempElement.childNodes];
389
+ }
390
+ else {
391
+ yield* this.viewChildrenToDom(childView, options);
392
+ }
384
393
  }
385
394
  else {
386
395
  if (transparentRendering) {