Fix text annotation dragging error

This commit is contained in:
Martynas Bagdonas 2023-08-02 14:51:06 +03:00 committed by Dan Stillman
parent fed4749a46
commit c62ed29de9

View file

@ -1512,7 +1512,7 @@ class EditorInstanceUtilities {
if (['highlight', 'underline'].includes(annotation.type)) {
template = Zotero.Prefs.get('annotations.noteTemplates.highlight');
}
else if (annotation.type === 'note') {
else if (['note', 'text'].includes(annotation.type)) {
template = Zotero.Prefs.get('annotations.noteTemplates.note');
}
else if (annotation.type === 'image') {