tinymce-docs icon indicating copy to clipboard operation
tinymce-docs copied to clipboard

I can't find what I'm looking for: advanced/annotations.md

Open DNWEIJ opened this issue 5 years ago • 0 comments

It is not clear what now actually the remove is doing for annotations.

The title state https://www.tiny.cloud/docs/advanced/annotations/#deletinganannotation

But deleting an annotation isn't clear, since there isn't a good seperation about the GROUPED BY NAME annotations and the actual annotation.

The document states: Deleting an Annotation
Use the remove API to delete a particular annotation at the cursor. It will remove the closest annotation that matches the name.

This suggest, it would be possbile to remove a specific annotation HAVING a group annotation-name of X and a UUID of Y, making it a specific anntation within the GROUP.

But the API specifically states it is the ANNOTATION NAME that is used, thus deleting ALL annotations having this name. * Removes any annotations from the current selection that match the name

I would suggest to clean up the documentation as a minimum change the title Deleting an Annotation to Delete Annotations by Annotation name or something in this line

DNWEIJ avatar Aug 11 '20 13:08 DNWEIJ