fixed the drag issue

qi
Thomas 2 years ago
parent 3071947c28
commit 5bcb05e0f6

@ -14,7 +14,7 @@ const props = defineProps({
:grid="[stepX, stepY]" :grid="[stepX, stepY]"
:default-position="{ x: props.value.x, y: props.value.y }" :default-position="{ x: props.value.x, y: props.value.y }"
> >
<div style="display: flex;"> <div>
<q-card flat bordered> <q-card flat bordered>
<q-card-section style="padding: 0"> <q-card-section style="padding: 0">
<div class="row items-center no-wrap"> <div class="row items-center no-wrap">

@ -170,11 +170,12 @@ function richUpdateValue() {
</q-card-actions> </q-card-actions>
</q-card> </q-card>
</q-dialog> </q-dialog>
<div v-for="(item, index) in richTextStatements"> <div v-for="(item, index) in richTextStatements" style="display: flex">
<TextBox <TextBox
:value="item" :value="item"
v-on:edit="() => (item.text ? richEditStatement(index) : {})" v-on:edit="() => (item.text ? richEditStatement(index) : {})"
></TextBox> />
</div> </div>
</q-page-container> </q-page-container>

Loading…
Cancel
Save