Skip to content

Custom paragraph node using node replacement system does not show placeholder text #3619

Answered by moy2010
IsmailElShinnawy asked this question in Q&A
Discussion options

You must be logged in to vote

Having $canShowPlaceholder to use isParagraphNode is actually the fix for this issue. If your custom node MyParagraphNode is extending lexical's ParagraphNode as you say, then it is an instance of it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@IsmailElShinnawy
Comment options

Answer selected by IsmailElShinnawy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants