From ffcaf333e5b7a2b0ce0b407a65bf2bbe742cd23a Mon Sep 17 00:00:00 2001 From: Yang Libin Date: Fri, 10 Jul 2020 20:43:58 +0800 Subject: [PATCH 1/4] docs: update user list(#5) See #5 for details. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ba2a9e7..79d8776 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,12 @@ Markdown 文档自动即时渲染为微信图文,让你不再为微信文章 码云Gitee + + +
+ 好酸一柠檬 +
+ @@ -115,6 +121,7 @@ Markdown 文档自动即时渲染为微信图文,让你不再为微信文章 ## 示例文章 +- [阅读计划 | 传记、社科类](https://mp.weixin.qq.com/s/CVqmcu_OGG8TQO4FViAQ3w) - [一文多发神器--ArtiPub&OpenWrite](https://mp.weixin.qq.com/s/FpGIX9viQR6Z9iSCEPH86g) - [全网首发!GPU 驱动自升级原理详解](https://mp.weixin.qq.com/s/7UG24ZugfI5ZnhUpo8vfvQ) - [死磕 JavaScript 系列之原来你是对象(一)](https://mp.weixin.qq.com/s/oc5Z2t9ykbu_Dezjnw5mfQ) From b563450e46ee432c0f807539bf84e23075f48b81 Mon Sep 17 00:00:00 2001 From: hlwwlh Date: Sun, 12 Jul 2020 12:51:06 +0000 Subject: [PATCH 2/4] feat: update table insert --- .../CodemirrorEditor/insertForm.vue | 187 +++++++++++------- 1 file changed, 120 insertions(+), 67 deletions(-) diff --git a/src/components/CodemirrorEditor/insertForm.vue b/src/components/CodemirrorEditor/insertForm.vue index c68acb9..c2dc28c 100644 --- a/src/components/CodemirrorEditor/insertForm.vue +++ b/src/components/CodemirrorEditor/insertForm.vue @@ -1,75 +1,128 @@ - \ No newline at end of file + From 47847aabc4af482b263e2c6f89597a29463edf34 Mon Sep 17 00:00:00 2001 From: hlw Date: Sun, 12 Jul 2020 21:54:41 +0800 Subject: [PATCH 3/4] fix: reset table data --- src/components/CodemirrorEditor/insertForm.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/CodemirrorEditor/insertForm.vue b/src/components/CodemirrorEditor/insertForm.vue index c2dc28c..08216f2 100644 --- a/src/components/CodemirrorEditor/insertForm.vue +++ b/src/components/CodemirrorEditor/insertForm.vue @@ -106,8 +106,10 @@ export default { table += currRow.join("|"); table += "|\n"; } - - this.editor.replaceSelection(`\n${table}\n`, cursor); + this.tableData = {}; + this.rowNum = 1; + this.colNum = 1; + this.editor.replaceSelection(`\n${table}\n`, "end"); this.$emit("close"); this.editorRefresh(); }, From 214f4ba3aed6b03bb2aa93a53db6b7f31ef3c17f Mon Sep 17 00:00:00 2001 From: yanglbme Date: Sun, 12 Jul 2020 22:55:41 +0800 Subject: [PATCH 4/4] fix: update insertForm component --- .../CodemirrorEditor/insertForm.vue | 128 +++++++++--------- 1 file changed, 62 insertions(+), 66 deletions(-) diff --git a/src/components/CodemirrorEditor/insertForm.vue b/src/components/CodemirrorEditor/insertForm.vue index 08216f2..5285393 100644 --- a/src/components/CodemirrorEditor/insertForm.vue +++ b/src/components/CodemirrorEditor/insertForm.vue @@ -51,80 +51,76 @@