Skip to content

Should the decoration function only be executed on the text component #5828

Open
@Guan-Erjia

Description

@Guan-Erjia

Problem
The decorator function is used to split the text node into child nodes (multiple leaf components). This behavior seem unrelated to the element component. Can we simplify this logic and change it to only execute in the text component, not in the element and pass it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions