croco-html 4.6.4 → 4.6.5
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/fesm2022/croco-html.mjs +2 -3
- package/fesm2022/croco-html.mjs.map +1 -1
- package/lib/index.d.ts +4 -4
- package/package.json +1 -1
package/fesm2022/croco-html.mjs
CHANGED
|
@@ -403,7 +403,7 @@ class ExternalVideoTagService {
|
|
|
403
403
|
isCustom: false
|
|
404
404
|
},
|
|
405
405
|
attributes: fileData,
|
|
406
|
-
innerHtml:
|
|
406
|
+
innerHtml: data.data.type === ExternalVideoSupportedTypes.Code ? data.data.innerHtml : ''
|
|
407
407
|
};
|
|
408
408
|
}
|
|
409
409
|
getDefaultValue(props) {
|
|
@@ -425,7 +425,7 @@ class ExternalVideoTagService {
|
|
|
425
425
|
isCustom: false
|
|
426
426
|
},
|
|
427
427
|
attributes: attrs,
|
|
428
|
-
innerHtml:
|
|
428
|
+
innerHtml: innerHtml,
|
|
429
429
|
};
|
|
430
430
|
}
|
|
431
431
|
}
|
|
@@ -2460,7 +2460,6 @@ class MainEditorBlockComponent {
|
|
|
2460
2460
|
}
|
|
2461
2461
|
save() {
|
|
2462
2462
|
const tag = this._tagService.tag$.value;
|
|
2463
|
-
;
|
|
2464
2463
|
this.onTagSaved.emit(tag);
|
|
2465
2464
|
this._tagService.presentOrEdit$.next(true);
|
|
2466
2465
|
}
|