Skip to content

Commit

Permalink
Update packages/ckeditor5-engine/src/view/domconverter.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
scofalik committed Apr 29, 2024
1 parent 4059117 commit 54ebadd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ckeditor5-engine/src/view/domconverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@ export default class DomConverter {
): IterableIterator<ViewNode> {
// Get child nodes from content document fragment if element is template
let childNodes: Array<ChildNode> = [];

if ( domElement instanceof HTMLTemplateElement ) {
childNodes = [ ...domElement.content.childNodes ];
} else {
Expand Down

0 comments on commit 54ebadd

Please sign in to comment.