diff --git a/src/components/editor/TextSettings.vue b/src/components/editor/TextSettings.vue index 8df45ab..536f6aa 100644 --- a/src/components/editor/TextSettings.vue +++ b/src/components/editor/TextSettings.vue @@ -483,7 +483,7 @@ watch(color, (val) => { watch(background, (val) => { if (isUpdatingFromStore) return; - updateStyle('body', 'background', val); + updateStyle('p', 'background', val); }); // Watchers for paragraph styles @@ -668,7 +668,7 @@ const syncFromStore = () => { const colorVal = extractValue('body', 'color'); if (colorVal) color.value = colorVal; - const bgVal = extractValue('body', 'background'); + const bgVal = extractValue('p', 'background'); if (bgVal) background.value = bgVal; // Paragraph styles