croco-html 20.4.2 → 20.4.3
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 +6 -0
- package/fesm2022/croco-html.mjs.map +1 -1
- package/index.d.ts +3 -0
- package/package.json +1 -1
package/fesm2022/croco-html.mjs
CHANGED
|
@@ -2878,6 +2878,8 @@ class NullVisualEditorLogger {
|
|
|
2878
2878
|
}
|
|
2879
2879
|
onRemove(_) {
|
|
2880
2880
|
}
|
|
2881
|
+
onHtmlChanged(html) {
|
|
2882
|
+
}
|
|
2881
2883
|
}
|
|
2882
2884
|
|
|
2883
2885
|
class ConsoleVisualEditorLogger {
|
|
@@ -2892,6 +2894,9 @@ class ConsoleVisualEditorLogger {
|
|
|
2892
2894
|
onRemove(index) {
|
|
2893
2895
|
console.log("onRemove", index);
|
|
2894
2896
|
}
|
|
2897
|
+
onHtmlChanged(html) {
|
|
2898
|
+
console.log("onHtmlChanged", html);
|
|
2899
|
+
}
|
|
2895
2900
|
}
|
|
2896
2901
|
|
|
2897
2902
|
class XmlTagViewComponent {
|
|
@@ -4013,6 +4018,7 @@ class MainEditorComponent {
|
|
|
4013
4018
|
this.html = html;
|
|
4014
4019
|
this.onHtmlChanged.emit(html);
|
|
4015
4020
|
this._cdref.markForCheck();
|
|
4021
|
+
this.logger.onHtmlChanged(html);
|
|
4016
4022
|
}
|
|
4017
4023
|
textAreaModelChangedHandler() {
|
|
4018
4024
|
this.recalculateBodyTags();
|