This enables the inline editing function for moderators to change a contribution's tags.
Outline of changes:
src/actions/contribution.js
- added tags parameter to moderatorAction()src/components/Story/InlineTagEdit.js
- new componentsrc/components/Story/InlineTagEdit.less
- styles for new componentsrc/components/Story/StoryFull.js
- added tag validationsrc/locales/en.json
- added string to display allowed characters for inline edit
New Feature
Enable Moderator's Tag Inline Edit
How did you implement it?
src/actions/contribution.js
- added tags parameter tomoderatorAction()
src/components/Story/InlineTagEdit.js
- new component
src/components/Story/InlineTagEdit.less
- styles for new component
src/components/Story/StoryFull.js
- added tag validation
src/locales/en.json
- added string to display allowed characters for inline edit
Posted on Utopian.io - Rewarding Open Source Contributors