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