@@ -2,6 +2,7 @@
outline: 0;
border: 0;
font-size: 16px;
+ white-space: pre;
&:not(.ProseMirror-static) {
user-select: text;
}
@@ -24,13 +25,15 @@
margin-top: var(--paragraphSpace);
ul {
+
list-style-type: disc;
- padding-inline-start: 1.25em;
+ padding-inline-start: 0;
li {
list-style-type: inherit;
- padding: 0.125em 0;
+ padding: 0;
ol {
@@ -1643,6 +1643,7 @@ export default () => {
else {
slidesStore.setViewportSize(width * ratio) // 调整画布大小
+ slidesStore.setViewportRatio(viewportRatio)
// 设置主题色
@@ -144,7 +144,7 @@ const text = computed<ShapeText>(() => {
padding: 5px;
word-break: break-word;
pointer-events: none;
- white-space: break-spaces;
&.editable {
pointer-events: all;
@@ -266,7 +266,7 @@ const startEdit = () => {
@@ -101,7 +101,7 @@ const { shadowStyle } = useElementShadow(shadow)
flex-direction: column;
@@ -233,7 +233,7 @@ watch(isHandleElement, () => {