How would I go about adding a button that added new lines in a canvas below or above the button being clicked?
Bonus points if you can tell me how to add new lines that are prepopulated with certain text and/or formatted text?
To give full context of what I’m trying to do: I’m trying to mimic Google Doc’s Meeting Agenda feature where, if you use their template, you can insert another instance of a meeting agenda block so you can take notes related to the specific instance of the meeting.
In away it’s almost like calling the /<template>
command within the page/canvas, except that I don’t want to add or replace an entire page, I just want to insert a block of templated text. I’m aware that you can add just a block of text by dragging the target Template element from the “Insert” menu on the right panel, but you would have to add the reference to the Google Meeting every time. Therefore, it would be a real time saver if it could copy the template from lines that already exist on the canvas/page in question.