Skip to content

Bug: highlight TextFormatType is missing in importDOM losing state #6498

Open
@bfritscher

Description

Pull request #3583 by @moy2010 added a new textformat (which is helpful), but if we use HTML to serialize it gets lost because importDOM is not parsing the mark tag in

static importDOM(): DOMConversionMap | null {

Also the devtools do not show formatting for this new highlight feature because its mising in

Lexical version: 0.16.1

Steps To Reproduce

  1. exportDOM a TextNode with format highlighting
  2. importDOM mark does not get parsed back to highligted text.,

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions