Map note excerpt to title in itemToCSLJSON
This way notes have some sort of user-friendly way of being traced from Word documents to Zotero items in the library
This commit is contained in:
parent
f6083068cd
commit
c84a16984b
2 changed files with 6 additions and 0 deletions
|
@ -1597,6 +1597,11 @@ Zotero.Utilities = {
|
|||
}
|
||||
}
|
||||
|
||||
// Special mapping for note title
|
||||
if (zoteroItem.itemType == 'note' && zoteroItem.note) {
|
||||
cslItem.title = Zotero.Notes.noteToTitle(zoteroItem.note);
|
||||
}
|
||||
|
||||
// extract PMID
|
||||
var extra = zoteroItem.extra;
|
||||
if(typeof extra === "string") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue