Skip to content

Feature: Improve $wrapLeafNodesInElements's input parameter createElement #2557

Closed

Description

@aquarius-wing

I need createElement parameter turn to (targetNode: LexicalNode) => ElementNode

Because I have some node with custom properties just like a paragraph with pinOnMap, when I want it turn to heading, the pinOnMap property is lost.

I need targetNode in createElement function's input parameters list, so I can read it and set to new node.

Activity

  1. thegreatercurve commented on Nov 24, 2022

    @thegreatercurve
    Contributor

    Nice idea @aquarius-wing! Would you be interested in creating this in a PR?

  2. zurfyx commented on Apr 12, 2023

    @zurfyx
    Member

    Closing as this function is now obsolete

  3. GermaVinsmoke commented on Apr 12, 2024

    @GermaVinsmoke

    @zurfyx Can you please let us know what was it replaced with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement over existing feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions