lexical icon indicating copy to clipboard operation
lexical copied to clipboard

Bug: Links don't follow Link style if text formatting is applied

Open ivailop7 opened this issue 2 years ago • 0 comments

Lexical version: 0.14.3

Steps To Reproduce

Type any text, add a link, select the text and the link, change the color to 'red'. The link also changes color, rather than keep the 'link' styling defined in the theme object. Reason is, the 'span' inside the anchor tag takes the applied color and overrides the link style CSS.

Expected behaviour

Despite the applied styling, for the link to keep the defined link theme style.

ivailop7 avatar Apr 15 '24 15:04 ivailop7