Skip to content

Parse style attribute during HTML deserialization #51

Open
@SamyPesse

Description

The HTML deserialization currently uses tags and class names to detect nodes and marks.

It could also use style="" attribute to detect marks.

For example: <span style="font-weight: bold;">This is bold</span> should be parsed as a text with a BOLD mark.

It will improve parsing when copying content from Word into the GitBook Editor.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions