Feat: register_post_form_actionでcwを変更可能にする (#11911)
* 投稿フォームのアクション追加するプラグインでCWを変更可能にする * Update CHANGELOG
This commit is contained in:
parent
772d2432b6
commit
63c6a9bb80
2 changed files with 3 additions and 0 deletions
|
@ -819,8 +819,10 @@ function showActions(ev) {
|
|||
action: () => {
|
||||
action.handler({
|
||||
text: text,
|
||||
cw: cw,
|
||||
}, (key, value) => {
|
||||
if (key === 'text') { text = value; }
|
||||
if (key === 'cw') { useCw = value !== null; cw = value; }
|
||||
});
|
||||
},
|
||||
})), ev.currentTarget ?? ev.target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue