Question
The current logic for invoking the menu to edit the list of attached files is based on the right-click. Alternatively, you need to double-click on the file field without hitting the links and icons. How can a button be added in the field to open it for editing?
Answer
In the code for field formatting, the function setFormat
with the parameter editbutton: true
:
f1=: setFormat(editbutton: true)