File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
src/components/toolbar-button Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import BtnHr from './btn-hr'
1212import BtnCode from './btn-code'
1313import BtnHide from './btn-hide'
1414import BtnFullscreen from './btn-fullscreen'
15+ import BtnInfo from './btn-info'
1516
1617export const defaultBtns = [
1718 BtnBold ,
@@ -35,7 +36,9 @@ export const defaultBtns = [
3536 BtnTable ,
3637 Divider ,
3738 BtnHide ,
38- BtnFullscreen
39+ BtnFullscreen ,
40+ Divider ,
41+ BtnInfo
3942]
4043
4144function getDefaultBtnsMap ( ) {
You can’t perform that action at this time.
0 commit comments