You can insert a React component inside the editor by implementing your own custom node, extending the built-in DecoratorNode. Lexical treats a Decorator node as a black box which means you're free to render whatever you want. You can embed a calendar or a support ticket... The possibilities are endless.