feat(编辑能力): 完善画布保留排版与字体替换
build.yaml / build (push) Successful in 45s

This commit is contained in:
xiaoqidun committed 2026-10-16 20:08:45 +08:00
1 parent 8a1caf7952
commit 0aed2a5609
8 files changed
+246 -156

No files matched your search

+15 -20
View File
@@ -1092,26 +1092,6 @@ button:not(:disabled):hover {
}
}
#sourceTextPanel {
width: 440px;
}
#sourceTextValue {
min-height: 80px;
}
#sourceTextPreview {
height: 160px;
margin-top: 12px;
background: #fff;
overflow: hidden;
}
#sourceTextPreview svg {
display: block;
width: 100%;
height: 100%;
}
.seal-position-options,
.seal-position-options label {
@@ -2871,6 +2851,21 @@ button.outline-link:hover {
text-indent: inherit;
}
.edit-text span[data-glyph] {
position: relative;
-webkit-text-fill-color: transparent;
}
.edit-text span[data-glyph]::after {
content: attr(data-glyph);
position: absolute;
left: 0;
top: 0;
-webkit-text-fill-color: currentColor;
pointer-events: none;
user-select: none;
}
.edit-text:focus-visible {
outline: none;
}