Quick copy export translator HTML code
Hi, I've made a small translator wich allows me to quick copy notes and outputs a link to the zotero item, ie:
<a href='zotero://select/items/0_J7EC3GNA'><i>Estructura y Agencia: Malinowski</i></a>
Where the text is extracted from the first line of the note. And if I drag a different type of Item i get a formated link with the item.title property.
Now, when I use it on the note editor, I get HTML code pasted, is there any way I can use this without having to open the HTML source editor?
<a href='zotero://select/items/0_J7EC3GNA'><i>Estructura y Agencia: Malinowski</i></a>
Where the text is extracted from the first line of the note. And if I drag a different type of Item i get a formated link with the item.title property.
Now, when I use it on the note editor, I get HTML code pasted, is there any way I can use this without having to open the HTML source editor?
http://www.simonkittle.com/2012/07/hyperlink-to-zotero-standalone-item/
Now when I paste in word or any other software it is pasted as HTML and all links work properly. The problem is when I paste this in Zotero´s editor, all zotero protocol urls are getting erased:
<!-- Begin Cita ZK --><a href="zotero://report/items/0_X7I4G5GT/html/report.html" title="A new history of anthropology ">(Kuklick 2008)</a> <a href='zotero://select/items/0_X7I4G5GT'>(Zotero)</a> <a href='http://zotero.org/users/933006/items/X7I4G5GT'>(Website)</a> <a href='zotero://open-pdf/0_8JXBMSBB/1'>(pp 1)</a><!-- End Cita ZK -->
Gets pasted as:
<p><a title="A new history of anthropology
">(Kuklick 2008)</a> <a>(Zotero)</a> <a href="http://zotero.org/users/933006/items/X7I4G5GT">(Website)</a> <a>(pp 1)</a></p>
Any suggestions?