following situation: I am trying to add a clickable element to each displayed field in the editor.
Ideally, I would put it where the field’s name is, because there is much unused space to the right.
So basically this:
I can append my button to the field with code like
// append a button to the first field label document.querySelector('.fname').innerHTML += '<div>my-button</div>';
Works fine in 2.1.41 until I change the note type, which then doesn’t update the names anymore (E.g. if I change from
Basic, I will still have the first field named
Text, and the second named
Extra. I have looked through the editor typescript code, but could not really pin it down on anything. Maybe @hengiesel knows what could be the issue here?