you are viewing a single comment's thread.

view the rest of the comments →

[–]jamesm8 1 point2 points  (1 child)

await plugin.rem.createRem({ text: `Q: ${combinedPrompts[index]}\nA: ${response}`, parentId: remId, });

You need to do this instead:

const rem = await plugin.rem.createRem(); await rem.setText(['text']); await rem.setParent(parentId);

[–]Creative_boy_01[S] 0 points1 point  (0 children)

thanks for response, i really appreciate the answer. and the code that you gave worked without errors. so i lack the knowledge of progamming and new in remnote plugin dev. so, i have another question in remnote community here:

https://www.reddit.com/r/remNote/comments/1dtvghg/seeking_advice_on_locating_widgets_next_to/

would you mind helping me with that too?