「このファイルからノートを作成」ボタンを追加 (#10758)
* (add) note this file button * Update CHANGELOG.md
This commit is contained in:
parent
58c3fc6cd2
commit
1f9f63df7c
3 changed files with 8 additions and 0 deletions
|
@ -74,6 +74,12 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile) {
|
|||
icon: 'ti ti-text-caption',
|
||||
action: () => describe(file),
|
||||
}, null, {
|
||||
text: i18n.ts.createNoteFromTheFile,
|
||||
icon: 'ti ti-pencil',
|
||||
action: () => os.post({
|
||||
initialFiles: [file],
|
||||
}),
|
||||
}, {
|
||||
text: i18n.ts.copyUrl,
|
||||
icon: 'ti ti-link',
|
||||
action: () => copyUrl(file),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue