r/logseq•
_Mark_

Where is insertAtEditingCursor implemented?

Trying to figure out how to use insertAtEditingCursor and getEditingCursorPosition but each of them has a declaration in libs/src/LSPlugin.ts and then never appears anywhere else in the logseq source tree. (They do show up in the generated docs https://logseq.github.io/plugins/interfaces/IEditorProxy.html#getEditingCursorPosition which have no actual words, they're just nicely formatted declarations.)

Am I missing some aspect of how the code is assembled, some external dependency or something? Or is this just incomplete and not how you modify the text you were invoked at?

Posted Dec 14, 2022, 2:38 AM UTC

10

No comments yet

Nobody commented on this post, or the comments weren't captured.