mirror of https://github.com/halo-dev/halo-admin
refactor: save shortcuts.
parent
6f7ccc4ae4
commit
90a563b074
|
@ -7697,9 +7697,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"halo-editor": {
|
"halo-editor": {
|
||||||
"version": "2.8.1",
|
"version": "2.8.2",
|
||||||
"resolved": "https://registry.npmjs.org/halo-editor/-/halo-editor-2.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/halo-editor/-/halo-editor-2.8.2.tgz",
|
||||||
"integrity": "sha512-GsuSmkgkemDVF2x20EGr0KbqJPIlXWeToMmi6QyesEOyexbWojTlR2dN2oDzZIyMjM4Nvpvcnpu5bdjNTKXzWA==",
|
"integrity": "sha512-Pjptx1y/gmSRKVwtNrv850t9XY5Aw15CLPg9t/oa86DgFtXNXnGYPxAqWl+AmK9pOAzUFnB8aqHSeJmW0+6HkQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"highlight.js": "^9.11.0",
|
"highlight.js": "^9.11.0",
|
||||||
"highlight.js-async-webpack": "^1.0.4"
|
"highlight.js-async-webpack": "^1.0.4"
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"enquire.js": "^2.1.6",
|
"enquire.js": "^2.1.6",
|
||||||
"filepond": "^4.7.2",
|
"filepond": "^4.7.2",
|
||||||
"filepond-plugin-image-preview": "^4.5.0",
|
"filepond-plugin-image-preview": "^4.5.0",
|
||||||
"halo-editor": "^2.8.1",
|
"halo-editor": "^2.8.2",
|
||||||
"marked": "^0.7.0",
|
"marked": "^0.7.0",
|
||||||
"moment": "^2.24.0",
|
"moment": "^2.24.0",
|
||||||
"verte": "^0.0.12",
|
"verte": "^0.0.12",
|
||||||
|
|
|
@ -720,7 +720,8 @@ body {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attach-thumb,.photo-thumb {
|
.attach-thumb,
|
||||||
|
.photo-thumb {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-bottom: 56%;
|
padding-bottom: 56%;
|
||||||
}
|
}
|
||||||
|
@ -856,3 +857,14 @@ body {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.select-attachment-checkbox {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
|
@ -291,15 +291,3 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
|
||||||
.select-attachment-checkbox {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
@ -19,8 +19,7 @@
|
||||||
:ishljs="true"
|
:ishljs="true"
|
||||||
:autofocus="false"
|
:autofocus="false"
|
||||||
@imgAdd="handleAttachmentUpload"
|
@imgAdd="handleAttachmentUpload"
|
||||||
@keydown.ctrl.83.native="handleSaveDraft"
|
@save="handleSaveDraft"
|
||||||
@keydown.meta.83.native="handleSaveDraft"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
|
@ -18,8 +18,7 @@
|
||||||
:ishljs="true"
|
:ishljs="true"
|
||||||
:autofocus="false"
|
:autofocus="false"
|
||||||
@imgAdd="handleAttachmentUpload"
|
@imgAdd="handleAttachmentUpload"
|
||||||
@keydown.ctrl.83.native="handleSaveDraft"
|
@save="handleSaveDraft"
|
||||||
@keydown.meta.83.native="handleSaveDraft"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
Loading…
Reference in New Issue