mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-26 19:14:12 +00:00 
			
		
		
		
	Feat: register_post_form_actionでcwを変更可能にする (#11911)
* 投稿フォームのアクション追加するプラグインでCWを変更可能にする * Update CHANGELOG
This commit is contained in:
		
							parent
							
								
									408def474b
								
							
						
					
					
						commit
						f7ecfef0ae
					
				
					 2 changed files with 3 additions and 0 deletions
				
			
		|  | @ -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); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue