diff --git a/components/ContentMenu.vue b/components/ContentMenu.vue index 48dbd025a..a6940b19f 100644 --- a/components/ContentMenu.vue +++ b/components/ContentMenu.vue @@ -78,7 +78,7 @@ export default { name: this.$t(`contribution.edit`), callback: () => { // eslint-disable-next-line vue/no-side-effects-in-computed-properties - return this.$router.push('/post/edit/p1') + return this.$router.push(`/post/edit/${this.itemId}`) // return this.$router.push(link) }, icon: 'edit' diff --git a/components/ContributionForm.vue b/components/ContributionForm.vue new file mode 100644 index 000000000..f7a1798a4 --- /dev/null +++ b/components/ContributionForm.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/components/Editor/Editor.vue b/components/Editor/Editor.vue index 2a68da45a..fd136e770 100644 --- a/components/Editor/Editor.vue +++ b/components/Editor/Editor.vue @@ -262,7 +262,8 @@ export default { diff --git a/pages/post/_slug/edit/_id.vue b/pages/post/_slug/edit/_id.vue index 2366ab65f..1cd7f222f 100644 --- a/pages/post/_slug/edit/_id.vue +++ b/pages/post/_slug/edit/_id.vue @@ -4,25 +4,7 @@ gutter="base" > - - - - -
- - Speichern - -
-
+
  @@ -32,72 +14,20 @@