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.
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.