Skip to content
Snippets Groups Projects
Commit f7ecfef0 authored by taichan's avatar taichan Committed by Insert5StarName
Browse files

Feat: register_post_form_actionでcwを変更可能にする (#11911)

* 投稿フォームのアクション追加するプラグインでCWを変更可能にする

* Update CHANGELOG
parent 408def47
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
### Client
- Enhance: モデレーションログ機能の強化
- Plugin:register_post_form_actionを用いてCWを取得・変更できるように
### Server
- Enhance: MasterプロセスのPIDを書き出せるように
......
......@@ -821,8 +821,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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment