|
@@ -89,7 +89,7 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<button
|
|
<button
|
|
- @click.stop="showExpandTextInput = !showExpandTextInput"
|
|
|
|
|
|
+ @click.stop="expandTextInput"
|
|
class="h-26 ml-auto shrink-0 active:bg-[#000]/[0.1] box-border text-[10px] px-8 text-black-3 flex justify-center rounded-full items-center bg-[#F3F3F3]"
|
|
class="h-26 ml-auto shrink-0 active:bg-[#000]/[0.1] box-border text-[10px] px-8 text-black-3 flex justify-center rounded-full items-center bg-[#F3F3F3]"
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
@@ -1003,6 +1003,16 @@ const handleClickOutside = (event) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// 切换
|
|
|
|
+function expandTextInput() {
|
|
|
|
+ showExpandTextInput.value = !showExpandTextInput.value
|
|
|
|
+ // nextTick(() => {
|
|
|
|
+ // if (showExpandTextInput.value) {
|
|
|
|
+ // editor.value.focus()
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+}
|
|
|
|
+
|
|
// 预览
|
|
// 预览
|
|
const previewOptions = reactive({
|
|
const previewOptions = reactive({
|
|
show: false
|
|
show: false
|
|
@@ -1037,8 +1047,6 @@ onMounted(() => {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
-// @import '../../assets/css/quill.snow.css';
|
|
|
|
-
|
|
|
|
::v-deep .van-field:focus {
|
|
::v-deep .van-field:focus {
|
|
caret-color: #ff9300 !important;
|
|
caret-color: #ff9300 !important;
|
|
outline: none;
|
|
outline: none;
|