We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b5e5f3 commit 1e38a28Copy full SHA for 1e38a28
src/components/toolbar-button/btn-info.js
@@ -0,0 +1,10 @@
1
+export default {
2
+ name: 'info',
3
+ icon: 'fa-info-circle',
4
+ title: '关于',
5
+ action: {
6
+ insert: function () {
7
+ window.location.href="https://github.com/luogu-dev/markdown-palettes";
8
+ }
9
10
+}
src/components/toolbar-button/toolbarBtn.js
@@ -12,6 +12,7 @@ import BtnHr from './btn-hr'
12
import BtnCode from './btn-code'
13
import BtnHide from './btn-hide'
14
import BtnFullscreen from './btn-fullscreen'
15
+import BtnInfo from './btn-info'
16
17
export const defaultBtns = [
18
BtnBold,
@@ -35,7 +36,9 @@ export const defaultBtns = [
35
36
BtnTable,
37
Divider,
38
BtnHide,
- BtnFullscreen
39
+ BtnFullscreen,
40
+ Divider,
41
+ BtnInfo
42
]
43
44
function getDefaultBtnsMap () {
0 commit comments