<!-- Please provide a clear and concise description of the feature proposal and outline the motivation for the proposal. Is your feature request related to a specific problem? e.g., *"I'm working on X and would like Y to be possible"*. If this is related to another GitHub issue, please link here too. --> I need `createElement` parameter turn to `(targetNode: LexicalNode) => ElementNode` <!-- A description of the alternative solutions or features you've considered, if any. --> 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. <!-- Add any other context or screenshots about the feature request. -->
Activity
thegreatercurve commentedon Nov 24, 2022
Nice idea @aquarius-wing! Would you be interested in creating this in a PR?
zurfyx commentedon Apr 12, 2023
Closing as this function is now obsolete
GermaVinsmoke commentedon Apr 12, 2024
@zurfyx Can you please let us know what was it replaced with?