Is there a more convenient way to use the include note
feature?
#3030
-
Is it possible to set |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
anyone has any idea? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
If you want to include a note in trilium using javascript it's pretty simple (but it's not explained in the API) : First, you must get a CKEditor instance of your texte note :
Then you can use this code to insert the box automatically. Obviously, you have to determine the id of the note to be inserted beforehand, but it is quite easy.
|
Beta Was this translation helpful? Give feedback.
If you want to include a note in trilium using javascript it's pretty simple (but it's not explained in the API) :
First, you must get a CKEditor instance of your texte note :
Then you can use this code to insert the box automatically. Obviously, you have to determine the id of the note to be inserted beforehand, but it is quite easy.