Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Essem
Sharkey
Commits
f7ecfef0
Commit
f7ecfef0
authored
1 year ago
by
taichan
Committed by
Insert5StarName
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Feat: register_post_form_actionでcwを変更可能にする (#11911)
* 投稿フォームのアクション追加するプラグインでCWを変更可能にする * Update CHANGELOG
parent
408def47
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
packages/frontend/src/components/MkPostForm.vue
+2
-0
2 additions, 0 deletions
packages/frontend/src/components/MkPostForm.vue
with
3 additions
and
0 deletions
CHANGELOG.md
+
1
−
0
View file @
f7ecfef0
...
...
@@ -20,6 +20,7 @@
### Client
-
Enhance: モデレーションログ機能の強化
-
Plugin:register_post_form_actionを用いてCWを取得・変更できるように
### Server
-
Enhance: MasterプロセスのPIDを書き出せるように
...
...
This diff is collapsed.
Click to expand it.
packages/frontend/src/components/MkPostForm.vue
+
2
−
0
View file @
f7ecfef0
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment