We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a4000c + fe73cfc commit c12b9efCopy full SHA for c12b9ef
1 file changed
src/components/Editor.vue
@@ -635,6 +635,7 @@ export default defineComponent({
635
onSave() {
636
if (this.fileNode) {
637
this.fileNode.mtime = new Date()
638
+ this.fileNode.size = new Blob([this.serialize()]).size
639
emit('files:node:updated', this.fileNode)
640
}
641
this.$nextTick(() => {
0 commit comments