From d02cfcd81d0233dbb308d896694abd6626d7dcf0 Mon Sep 17 00:00:00 2001 From: haoouba <2323333339@qq.com> Date: Sun, 28 Mar 2021 13:34:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/factory.php | 11 ++- core/function.php | 2 +- package.json | 2 +- typecho/write/css/joe.write.min.css | 2 +- typecho/write/css/joe.write.min.scss | 6 +- typecho/write/js/_actions.js | 136 ++++++++------------------- typecho/write/js/_tools.js | 5 + typecho/write/js/joe.write.chunk.js | 63 +------------ typecho/write/js/joe.write.js | 7 +- typecho/write/json/character.json | 15 +++ typecho/write/json/emoji.json | 30 ++++++ 11 files changed, 115 insertions(+), 164 deletions(-) create mode 100644 typecho/write/json/character.json create mode 100644 typecho/write/json/emoji.json diff --git a/core/factory.php b/core/factory.php index 7e154f1..e4c0c40 100644 --- a/core/factory.php +++ b/core/factory.php @@ -42,8 +42,15 @@ class Editor { ?> - - + + + { + let tabbarStr = ''; + let listsStr = ''; + for (let key in res) { + const arr = res[key].split(' '); + tabbarStr += `
`; + listsStr += `