From 978cdb748dbc372aa46d4d01e779d7ef407a3fc8 Mon Sep 17 00:00:00 2001 From: BeirlaenAaron Date: Mon, 9 Jan 2023 13:50:54 +0100 Subject: [PATCH 1/2] make the link icon blue also added a small margin --- .../wysiwygEditor/decorators/linkDecorator.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/components/wysiwygEditor/decorators/linkDecorator.tsx b/src/components/wysiwygEditor/decorators/linkDecorator.tsx index 8bf96a2ef..34cc65594 100644 --- a/src/components/wysiwygEditor/decorators/linkDecorator.tsx +++ b/src/components/wysiwygEditor/decorators/linkDecorator.tsx @@ -7,6 +7,7 @@ import Link from '../../link'; import { GenericComponent } from '../../../@types/types'; import theme from './theme.css'; +import Icon from '../../icon'; const findLinkEntities = (contentBlock: ContentBlock, callback: () => void, contentState: ContentState) => { contentBlock.findEntityRanges((character) => { @@ -42,7 +43,18 @@ const LinkEntity: GenericComponent = ({ entityKey, contentState event.preventDefault()}> {children} - {showOpenLinkIcon && } + {showOpenLinkIcon && ( + + + + )} ); }; From 7a009b14e2d56c52e412229e4caa5fc7345eae1b Mon Sep 17 00:00:00 2001 From: BeirlaenAaron Date: Mon, 9 Jan 2023 13:59:13 +0100 Subject: [PATCH 2/2] bump version + update changelog --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9283fb923..2d5dfaa1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,12 @@ ### Dependency updates +## [18.5.2] - 2023-01-09 + +### Changed + +- `WysiwygEditor`: Change link icon color ([@BeirlaenAaron](https://github.com/BeirlaenAaron)) in [#2519](https://github.com/teamleadercrm/ui/pull/2519)) + ## [18.5.1] - 2023-01-04 ### Added diff --git a/package.json b/package.json index 51ac360c3..35319cbcf 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@teamleader/ui", "description": "Teamleader UI library", - "version": "18.5.1", + "version": "18.5.2", "author": "Teamleader ", "bugs": { "url": "https://github.com/teamleadercrm/ui/issues"