@festo-ui/angular 4.0.3-pre-20221028.2 → 4.0.3-pre-20221028.4
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.
|
@@ -5743,7 +5743,10 @@ class TextEditorComponent extends ValueAccessorBaseDirective {
|
|
|
5743
5743
|
}
|
|
5744
5744
|
ngOnChanges(changes) {
|
|
5745
5745
|
if (changes?.config?.currentValue != null) {
|
|
5746
|
-
this.config = {
|
|
5746
|
+
this.config = {
|
|
5747
|
+
toolbar: { ...this.defaultConfig.toolbar, ...changes.config.currentValue?.toolbar },
|
|
5748
|
+
sanitizing: { ...this.defaultConfig.sanitizing, ...changes.config.currentValue?.sanitizing }
|
|
5749
|
+
};
|
|
5747
5750
|
}
|
|
5748
5751
|
if (!this.quillEditor) {
|
|
5749
5752
|
return;
|