fix: 文字加粗增加文本框高度后,可视区域定位错乱

This commit is contained in:
pipipi-pikachu 2022-08-20 14:55:07 +08:00
parent d245de2a40
commit 42eefa6f4e

View File

@ -285,6 +285,8 @@ import ElementOutline from '../common/ElementOutline.vue'
import ElementShadow from '../common/ElementShadow.vue'
import ColorButton from '../common/ColorButton.vue'
// BUG
//
const presetStyles = [
{
label: '大标题',
@ -294,9 +296,9 @@ const presetStyles = [
},
cmd: [
{ command: 'clear' },
{ command: 'bold' },
{ command: 'fontsize', value: '48px' },
{ command: 'align', value: 'center' },
{ command: 'bold' },
],
},
{
@ -307,9 +309,9 @@ const presetStyles = [
},
cmd: [
{ command: 'clear' },
{ command: 'bold' },
{ command: 'fontsize', value: '36px' },
{ command: 'align', value: 'center' },
{ command: 'bold' },
],
},
{