This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

优化富文本编辑器

old
宇天 2021-05-26 19:45:09 +08:00
parent 36feda623d
commit 53b48cabff
1 changed files with 12 additions and 0 deletions

View File

@ -39,6 +39,7 @@
min-height: 100px;
max-height: 640px;
border-radius: 3px;
transition: box-shadow 0.15s linear;
}
table {
@ -141,6 +142,17 @@ wc-scroll {
}
}
:host([readonly]) {
.neditor {
cursor: default;
opacity: 0.8;
}
}
:host(:focus-within) {
box-shadow: 0 0 0 2px var(--color-plain-a);
}
.font-layer,
.color-layer,
.link-layer {