Nikhil

Results 7 comments of Nikhil

Can you please tell me how to do this in enzyme? `setProps` won't work because the `` is a child o the component `` being mounted.

@ryanmitts That doesn't work for me. My issue is related, and what I want to do is even simpler -- Move the cursor the end of the document.

When I paste plain text with line breaks in Safari, Slate does not honor the line breaks. End result is all one block of text.

@dylans Sounds good. If you or the team need any help, I'm happy to contribute in any way I can.

> I resolved it by removing the passlib module and simply using the bcrypt directly for hashing and verification I like this. Not a fan of using inactive libraries especially...

May not apply to your specific use-case, but I found a workaround detailed in #5229 , in my [comment](https://github.com/ianstormtaylor/slate/issues/5229#issuecomment-1367660100).

@derwaldgeist @maxiwer I was getting the exact same error, but I got it working by ensuring that map **has the draw control**, before trying to call `draw.whatever()`. Example: ``` useEffect(()...