Closed hkkvo closed 1 month ago
Any update on this.
@hkkvo Please could you supply a full reproduction under the Sandbox heading in your issue?
Thank you for the response.
Things got resolved. Issue was happening because of the createExitBreakPlugin and not using createSoftBreakPlugin along with it. createExitBreakPlugin was interrupting the Enter key stroke and exiting current node block.
Issue got resolved
Description
When custom plugin component is tried to insert using insertNodes Api, editor behaves in uncertain way to key press. In this case when i try to press enter after node insert in to palte editor. I'm getting exception but i try to insert same plugin element using insertEmptyElement Api. I'm not getting exception . Is there any solution to resolve this issue.
https://github.com/udecode/plate/assets/62047065/f10e8219-1ef6-423e-92d5-22680b8933e4
https://github.com/udecode/plate/assets/62047065/27ef7b5d-f696-4906-a801-7aec8a862cc6
Steps to Reproduce
Sandbox
Expected Behavior
Environment
Bounty
Click here to add a bounty via Algora.
Funding