|
@@ -867,7 +867,6 @@ const clickSnippet = async ({content, styles, code}) => {
|
|
|
// 移动到文档结尾 不然他会插入到片段里面
|
|
|
editor!.setCursor('DOCUMENT_END');
|
|
|
editor!.scrollToCursor();
|
|
|
- console.log(data)
|
|
|
const insertContent = {
|
|
|
// 内容
|
|
|
value: content,
|
|
@@ -1706,26 +1705,6 @@ function selectFill() {
|
|
|
}
|
|
|
|
|
|
|
|
|
-const auditDeliveryPoint = ref()
|
|
|
-const editAnchorPointRef = ref()
|
|
|
-const transfer = reactive({
|
|
|
- disabled: true,
|
|
|
- anchorPoint: null
|
|
|
-})
|
|
|
-
|
|
|
-
|
|
|
-function changeTabs(val) {
|
|
|
- if (val === IframeTabs.审核) {
|
|
|
- ;(auditDeliveryPoint.value as HTMLDivElement).appendChild(editAnchorPointRef.value)
|
|
|
-
|
|
|
- transfer.anchorPoint = auditDeliveryPoint
|
|
|
- transfer.disabled = false
|
|
|
- } else {
|
|
|
- transfer.disabled = true
|
|
|
- transfer.anchorPoint = null
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
|
|
|
defineExpose({
|
|
|
closeBothSides,
|