From 8125458f8cdf8d0d6ff1d98654d567daab7f7a52 Mon Sep 17 00:00:00 2001 From: Alun Turner Date: Wed, 18 Jan 2023 15:23:21 +0000 Subject: [PATCH 1/7] add new svg --- res/img/element-icons/room/composer/quote.svg | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 res/img/element-icons/room/composer/quote.svg diff --git a/res/img/element-icons/room/composer/quote.svg b/res/img/element-icons/room/composer/quote.svg new file mode 100644 index 00000000000..caa97e8c199 --- /dev/null +++ b/res/img/element-icons/room/composer/quote.svg @@ -0,0 +1,6 @@ + + + + + + From 441245f0164aba284ab035e95f2b20558cbc82d6 Mon Sep 17 00:00:00 2001 From: Alun Turner Date: Wed, 18 Jan 2023 15:29:50 +0000 Subject: [PATCH 2/7] use different svg --- res/img/element-icons/room/composer/quote.svg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/res/img/element-icons/room/composer/quote.svg b/res/img/element-icons/room/composer/quote.svg index caa97e8c199..82cc2d28752 100644 --- a/res/img/element-icons/room/composer/quote.svg +++ b/res/img/element-icons/room/composer/quote.svg @@ -1,6 +1,6 @@ - - - - - + + + + + From 43829090f892030b60609014b1300809f85abf01 Mon Sep 17 00:00:00 2001 From: Alun Turner Date: Wed, 18 Jan 2023 15:30:00 +0000 Subject: [PATCH 3/7] add quote button --- .../wysiwyg_composer/components/FormattingButtons.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/views/rooms/wysiwyg_composer/components/FormattingButtons.tsx b/src/components/views/rooms/wysiwyg_composer/components/FormattingButtons.tsx index 7c1601b4416..40ebb0cdddd 100644 --- a/src/components/views/rooms/wysiwyg_composer/components/FormattingButtons.tsx +++ b/src/components/views/rooms/wysiwyg_composer/components/FormattingButtons.tsx @@ -22,6 +22,7 @@ import { Icon as BoldIcon } from "../../../../../../res/img/element-icons/room/c import { Icon as ItalicIcon } from "../../../../../../res/img/element-icons/room/composer/italic.svg"; import { Icon as UnderlineIcon } from "../../../../../../res/img/element-icons/room/composer/underline.svg"; import { Icon as StrikeThroughIcon } from "../../../../../../res/img/element-icons/room/composer/strikethrough.svg"; +import { Icon as QuoteIcon } from "../../../../../../res/img/element-icons/room/composer/quote.svg"; import { Icon as InlineCodeIcon } from "../../../../../../res/img/element-icons/room/composer/inline_code.svg"; import { Icon as LinkIcon } from "../../../../../../res/img/element-icons/room/composer/link.svg"; import { Icon as BulletedListIcon } from "../../../../../../res/img/element-icons/room/composer/bulleted_list.svg"; @@ -123,6 +124,12 @@ export function FormattingButtons({ composer, actionStates }: FormattingButtonsP onClick={() => composer.orderedList()} icon={} /> +