Steps to reproduce:
Pin an object to a word, especially at the start or end of a paragraph.
Double click the word
Press delete
Object is deleted along with the word
See attached video for a visual guide.
Expected behaviour would be for the pin to be impossible to select, and impossible to delete by text editing, especially this easily. Even if the whole paragraph were to be deleted, the pin should simply move to the next available position. If the entire text area is deleted, then the object should be unpinned, but kept on the page. double clicking to select only the text, and the object anchor.
As it is now it's almost impossible not to delete pins by mistake. The documentation also makes this the expectation, as the only way listed way to unpin is:
Thank you!
recordedVideo.mp4