-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update animation and default color theme
更新动画文件和默认颜色主题
- Loading branch information
Showing
4 changed files
with
66 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,8 @@ | |
<link rel="stylesheet" href="libs/css/codemirror.min.css"> | ||
<link rel="stylesheet" href="libs/css/show-hint.css"> | ||
<link rel="stylesheet" href="libs/css/style-mirror.css"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]" rel="stylesheet" type="text/css"> | ||
|
||
<link rel="stylesheet" href="libs/css/animate.css"> | ||
|
||
<!-- 默认CSS/JS --> | ||
<script src="assets/scripts/themes/default-theme-css.js"></script> | ||
|
@@ -44,8 +45,7 @@ | |
<el-header class="top"> | ||
<!-- 图片上传 --> | ||
<el-upload action="https://imgkr.com/api/files/upload" headers="{'Content-Type': 'multipart/form-data'}" | ||
:show-file-list="false" :multiple="true" accept=".jpg,.jpeg,.png,.gif" name="file" :on-success="uploaded" | ||
:on-error="failed"> | ||
:show-file-list="false" :multiple="true" accept=".jpg,.jpeg,.png,.gif" name="file" :on-success="uploaded"> | ||
<el-tooltip class="item" effect="dark" content="点击上传图片" placement="bottom-start"> | ||
<i class="el-icon-upload" size="medium"> </i> | ||
</el-tooltip> | ||
|
@@ -102,7 +102,7 @@ | |
<el-main class="main-body"> | ||
<el-row :gutter="10" class="main-section"> | ||
<el-col :span="12"> | ||
<textarea id="editor" type="textarea" placeholder="Your markdown here." v-model="source"> | ||
<textarea id="editor" type="textarea" placeholder="Your markdown text here." v-model="source"> | ||
</textarea> | ||
</el-col> | ||
<el-col :span="12" class="preview-wrapper" id="preview"> | ||
|
@@ -115,7 +115,7 @@ | |
</el-col> | ||
<transition name="custom-classes-transition" enter-active-class="animated bounceInRight"> | ||
<el-col id="cssBox" :span="12" v-show="showBox"> | ||
<textarea id="cssEditor" type="textarea" placeholder="Custom css here."> | ||
<textarea id="cssEditor" type="textarea" placeholder="Your custom css here."> | ||
</textarea> | ||
</el-col> | ||
</transition> | ||
|
@@ -133,14 +133,13 @@ <h3>一款高度简洁的微信 Markdown 编辑器</h3> | |
</div> | ||
<span slot="footer" class="dialog-footer"> | ||
<a href="https://github.com/doocs/md" target="_blank"> | ||
<el-button type="success" plain>GitHub 仓库 | ||
</el-button> | ||
<el-button type="success" plain>GitHub 仓库</el-button> | ||
</a> | ||
<a href="https://gitee.com/doocs/md" target="_blank"> | ||
<el-button type="success" plain>Gitee 仓库 | ||
</el-button> | ||
<el-button type="success" plain>Gitee 仓库</el-button> | ||
</a> | ||
</span> | ||
|
||
</el-dialog> | ||
</div> | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.