diff --git a/webapp/components/Editor/Editor.spec.js b/webapp/components/Editor/Editor.spec.js index 332af9035..149124d44 100644 --- a/webapp/components/Editor/Editor.spec.js +++ b/webapp/components/Editor/Editor.spec.js @@ -161,14 +161,14 @@ describe('Editor.vue', () => { beforeAll(() => jest.useFakeTimers()) afterAll(() => jest.useRealTimers()) - describe('when false', () => { + describe('when false (default)', () => { const content = '
NOOP WIP
' beforeEach(async () => { propsData = { //Comment WIP
' beforeEach(async () => { - propsData = {} + propsData = { + autosave: true, + } mocks = { $t: (t) => t, } diff --git a/webapp/components/Editor/Editor.vue b/webapp/components/Editor/Editor.vue index 93bb39c0f..137ab669c 100644 --- a/webapp/components/Editor/Editor.vue +++ b/webapp/components/Editor/Editor.vue @@ -54,7 +54,7 @@ export default { users: { type: Array, default: () => null }, // If 'null', than the Mention extention is not assigned. hashtags: { type: Array, default: () => null }, // If 'null', than the Hashtag extention is not assigned. doc: { type: Object, default: () => {} }, - autosave: { type: Boolean, default: true }, + autosave: { type: Boolean, default: false }, value: { type: String, default: '',