-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(RichTextEditor): format toolbar [WPB-12089] (#18398)
* feat(messageRenderer): add 'list' support to markdown rendering options * feat(RichTextEditor): format toolbar draft * feat(RichText): draft format toolbar component * refactor(ControlButtons): split buttons to their own components * feat: add feature flag for message format buttons * feat: add analytics events * fix: message edition * revert: edit message changes * fix: mentions rendering * fix(RichTextEditor): maintain markdown preview for editing messages * fix: packages * fix: translation typedefs * fix: test * fix: input bar styles * refactor: cleanup * fix: grid layout * fix: message reply preview * feat: hide gif changes behind the flag * chore: improve comments * feat: hide avatar showing changes behind the flag * chore(typescript): bring back noImplicitReturns option set to true * refactor(useToolbarState): return undefined in the useEffect instead of commenting the issue * feat(RichTextEditor): add styles for heading 2 and 3 * fix(InputBar): update avatar visibility logic to include message format buttons * test(ImageUploadButton): simplify props by removing redundant boolean value * refactor(useHeadingState): simplify command registration by removing unnecessary useCallback * refactor(useToolbarState): streamline return of update listener registration * chore: update packages * chore: update packages * refacotor(EmojiPicker): reuse closing logic * refactor(FormatToolbar): use TextFormatType for passing the formt in formatText function * refactor(useEmojiPicker): handleClose funcitonallity
- Loading branch information
1 parent
806255f
commit 25d4950
Showing
47 changed files
with
1,749 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.