Is it possible to write formatted text using the front-end API? #662
architectdrone
started this conversation in
General
Replies: 1 comment 1 reply
-
I don’t know if this is what you need. It can directly set the content of the target note.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I am trying to insert a link from one note to another using a front-end script. I know that there is a method called api.addTextToActiveContextEditor, but that can only handle text, according to the docs. Is there an alternative that will allow programmatically inserting rich text?
Here's my code so far. It is supposed to create a new note in a different directory with the contexts of your clipboard and then insert a link to it, like in QOwnNotes
Beta Was this translation helpful? Give feedback.
All reactions