1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 14:26:28 +02:00

「削除して編集」機能を追加 (#5182)

* 「削除して編集」機能を追加

* UXの調整

* 殆どの情報を保持したまま編集できるように

* update lang
This commit is contained in:
Xeltica
2019-07-28 05:33:12 +09:00
committed by syuilo
parent 6138d46509
commit 831ca53b63
8 changed files with 91 additions and 5 deletions

View File

@@ -55,7 +55,10 @@ init((launch, os) => {
const vm = this.$root.new(PostFormDialog, {
reply: o.reply,
mention: o.mention,
renote: o.renote
renote: o.renote,
initialText: o.initialText,
instant: o.instant,
initialNote: o.initialNote,
});
vm.$once('cancel', recover);
vm.$once('posted', recover);

View File

@@ -7,6 +7,7 @@
:renote="renote"
:mention="mention"
:initial-text="initialText"
:initial-note="initialNote"
:instant="instant"
@posted="onPosted"
@cancel="onCanceled"/>
@@ -41,6 +42,10 @@ export default Vue.extend({
type: String,
required: false
},
initialNote: {
type: Object,
required: false
},
instant: {
type: Boolean,
required: false,