I was just experimenting with [Quill](https://quilljs.com/) trying to use it from Nim. I managed to get it working with Neel.
But I am struggling with what they call [Blot](https://github.com/quilljs/parchment). I tried with: type BlotObj* = JsObject Run and also: type BlotObj* {.importc:"Blot".} = ref object of RootObj blotName*: cstring Run but I don't manage to get access to the fields within Blot. When I run the following Nim code: echo line.blotName Run where `line:BlotObj` it creates the following javascript code: rawEcho(cstrToNimstr(line_553648141.blotName)); Run but it reports the following error in that line: Uncaught TypeError: Cannot read properties of null (reading 'blotName') at o.onTextChangeCallback_553648133 (main.js:600:41) at l.emit (quill.js:2:76370) at o.emit (quill.js:2:22016) at I.U (quill.js:2:42342) at o.<anonymous> (quill.js:2:35255) at l.emit (quill.js:2:76763) at o.emit (quill.js:2:22016) at m.update (quill.js:2:12173) at MutationObserver.<anonymous> (quill.js:2:151853) Run Any idea about how should I do it?