Added : customize the color and background color of selected text (#1601)

* Added Emoji Support

* Added Color Picker for font color and background color

* chore: revert code

* feat: re-implement the color picker

* test: add test case for adding color

* test: update appflowy_editor test flag

Co-authored-by: Muhammad Rizwan <haris.arshad.2010@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
This commit is contained in:
Muhammad Rizwan 2022-12-23 16:57:17 +05:00 • committed by GitHub
commit 8d5cf9fccf

View file

@ -16,6 +16,8 @@
"@heading3": {},
"highlight": "Highlight",
"@highlight": {},
"color": "Color",
"@color": {},
"image": "Image",
"@image": {},
"italic": "Italic",
@ -31,5 +33,45 @@
"text": "Text",
"@text": {},
"underline": "Underline",
"@underline": {}
"@underline": {},
"fontColorDefault": "Default",
"@fontColorDefault": {},
"fontColorGray": "Gray",
"@fontColorGray": {},
"fontColorBrown": "Brown",
"@fontColorBrown": {},
"fontColorOrange": "Orange",
"@fontColorOrange": {},
"fontColorYellow": "Yellow",
"@fontColorYellow": {},
"fontColorGreen": "Green",
"@fontColorGreen": {},
"fontColorBlue": "Blue",
"@fontColorBlue": {},
"fontColorPurple": "Purple",
"@fontColorPurple": {},
"fontColorPink": "Pink",
"@fontColorPink": {},
"fontColorRed": "Red",
"@fontColorRed": {},
"backgroundColorDefault": "Default background",
"@backgroundColorDefault": {},
"backgroundColorGray": "Gray background",
"@backgroundColorGray": {},
"backgroundColorBrown": "Brown background",
"@backgroundColorBrown": {},
"backgroundColorOrange": "Orange background",
"@backgroundColorOrange": {},
"backgroundColorYellow": "Yellow background",
"@backgroundColorYellow": {},
"backgroundColorGreen": "Green background",
"@backgroundColorGreen": {},
"backgroundColorBlue": "Blue background",
"@backgroundColorBlue": {},
"backgroundColorPurple": "Purple background",
"@backgroundColorPurple": {},
"backgroundColorPink": "Pink background",
"@backgroundColorPink": {},
"backgroundColorRed": "Red background",
"@backgroundColorRed": {}
}