|
|
@@ -1321,7 +1321,7 @@ export default () => {
|
|
|
defaultColor: theme.value.fontColor,
|
|
|
content: convertFontSizePtToPx(el.content, ratio),
|
|
|
style: getStyle(convertFontSizePtToPx(el.content, ratio)),
|
|
|
- lineHeight: 1.5,
|
|
|
+ lineHeight: 1.15,
|
|
|
outline: {
|
|
|
color: el.borderColor,
|
|
|
width: +(el.borderWidth * ratio).toFixed(2),
|
|
|
@@ -1382,7 +1382,7 @@ export default () => {
|
|
|
range: [[0, 0], [100, 100]],
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+/*
|
|
|
// 如果 src 是 base64,触发上传
|
|
|
if (el.src && typeof el.src === 'string' && el.src.startsWith('data:')) {
|
|
|
const uploadTask = (async () => {
|
|
|
@@ -1402,7 +1402,7 @@ export default () => {
|
|
|
})()
|
|
|
uploadTasks.push(uploadTask)
|
|
|
}
|
|
|
-
|
|
|
+*/
|
|
|
slide.elements.push(element)
|
|
|
}
|
|
|
else if (el.type === 'math') {
|