also correct blocks despite markup haven't been touched in this session

This commit is contained in:
Niels Lyngsø
2025-02-23 20:30:22 +01:00
committed by Jacob Overgaard
parent f64eb1261d
commit 6b50797693

View File

@@ -153,7 +153,7 @@ export abstract class UmbPropertyEditorUiRteElementBase extends UmbLitElement im
// If we don't have a value set from the outside or an internal value, we don't want to set the value.
// This is added to prevent the block list from setting an empty value on startup.
if (!this._latestMarkup && !this._value?.markup) {
if (this._value?.markup === undefined) {
return;
}