This commit is contained in:
haoouba 2021-05-01 10:53:22 +08:00
parent 2ad1e42268
commit 3da32864b1
6 changed files with 14 additions and 12 deletions

View File

@ -51,7 +51,7 @@ class Editor
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-tomorrow.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-tomorrow.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="<?php Helper::options()->themeUrl('typecho/write/css/joe.write.min.css?v=2021042917') ?>"> <link rel="stylesheet" href="<?php Helper::options()->themeUrl('typecho/write/css/joe.write.min.css?v=20210501') ?>">
<script> <script>
window.JoeConfig = { window.JoeConfig = {
uploadAPI: '<?php Helper::security()->index('/action/upload'); ?>', uploadAPI: '<?php Helper::security()->index('/action/upload'); ?>',
@ -67,8 +67,8 @@ class Editor
<script src="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/typecho-joe-next@6.2.4/plugin/prism/prism.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/typecho-joe-next@6.2.4/plugin/prism/prism.min.js"></script>
<script src="<?php Helper::options()->themeUrl('typecho/write/js/joe.parse.min.js') ?>"></script> <script src="<?php Helper::options()->themeUrl('typecho/write/js/joe.parse.min.js') ?>"></script>
<script src="<?php Helper::options()->themeUrl('typecho/write/js/joe.write.chunk.js?v=20210429') ?>"></script> <script src="<?php Helper::options()->themeUrl('typecho/write/js/joe.write.chunk.js?v=20210501') ?>"></script>
<script src="<?php Helper::options()->themeUrl('assets/js/joe.short.min.js?v=20210429') ?>"></script> <script src="<?php Helper::options()->themeUrl('assets/js/joe.short.min.js?v=20210501') ?>"></script>
<?php <?php
} }
} }

View File

@ -2,7 +2,7 @@
/* 获取主题当前版本号 */ /* 获取主题当前版本号 */
function _getVersion() function _getVersion()
{ {
return "6.8.0"; return "6.8.1";
}; };
/* 判断是否是手机 */ /* 判断是否是手机 */

View File

@ -1,6 +1,6 @@
{ {
"name": "typecho-joe-next", "name": "typecho-joe-next",
"version": "6.8.0", "version": "6.8.1",
"description": "A Theme Of Typecho", "description": "A Theme Of Typecho",
"main": "index.php", "main": "index.php",
"keywords": [ "keywords": [

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,7 @@ body.fullscreen {
flex-direction: column; flex-direction: column;
position: relative; position: relative;
width: 100%; width: 100%;
height: 550px; height: 700px;
box-sizing: border-box; box-sizing: border-box;
z-index: 6666; z-index: 6666;
content-visibility: auto; content-visibility: auto;
@ -127,10 +127,11 @@ body.fullscreen {
min-width: 0; min-width: 0;
font-size: 14px; font-size: 14px;
.cm-scroller { .cm-scroller {
line-height: 1.5; line-height: 1.8;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
overscroll-behavior: none; overscroll-behavior: none;
height: 100%; height: 100%;
padding: 10px;
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {
background: #222; background: #222;
} }
@ -147,12 +148,13 @@ body.fullscreen {
} }
.cm-content { .cm-content {
width: 100%; width: 100%;
white-space: normal;
overflow-wrap: break-word;
color: #ccc; color: #ccc;
caret-color: #ccc; caret-color: #ccc;
padding: 15px 13px 15px 11px; padding: 0;
-webkit-user-modify: read-write-plaintext-only; -webkit-user-modify: read-write-plaintext-only;
word-wrap: break-word;
white-space: normal;
word-break: break-all;
} }
.cm-matchingBracket { .cm-matchingBracket {
color: #8f938f; color: #8f938f;

File diff suppressed because one or more lines are too long