fix: update Coloris color swatches in TextSettings after loading custom styles

Dispatch input events on color inputs after syncFromStore so Coloris
updates its ::before pseudo-element swatches with loaded values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-02-24 14:02:33 +01:00
parent f760e1942a
commit 342a6eccf1
2 changed files with 18 additions and 5 deletions

View file

@ -19,7 +19,7 @@ Customcss:
@page {
size: A4;
margin: 50mm 15mm 26mm 15mm;
background: rgba(255, 255, 255, 1);
background: rgb(227, 33, 33);
}
body {
@ -35,10 +35,10 @@ p {
font-weight: 300;
font-family: Arial;
font-style: italic;
padding-top: 20mm;
padding-right: 20mm;
padding-bottom: 20mm;
padding-left: 20mm;
padding-top: 0mm;
padding-right: 0mm;
padding-bottom: 0mm;
padding-left: 0mm;
}
h1 {