Skip to content

Colors styling doesn't work with <s> and <u> #1089

Description

@meceo

in lexxy editor the element

<mark data-lexical-text="true" style="color: var(--highlight-3); background-color: var(--highlight-bg-2);">
  <strong class="lexxy-content__bold lexxy-content__highlight lexxy-content__italic lexxy-content__strikethrough">
    TEST
  </strong>
</mark>

with proper color and background color display

Image

in lexxy-content is turned into the element with tags like <s> or <u>

<p>
  <s>
    <i>
      <mark style="background-color: var(--highlight-bg-2);color: var(--highlight-3);">
        <strong>TEST</strong>
      </mark>
    </i>
  </s>
</p>

and does not apply color or background color in full

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions