[annotator-dev] Data questions

Ernesto Torresin (ML) ewk-ml at connettivo.net
Thu Jul 3 11:20:36 UTC 2014


I'm taking note of this... but with annotator 1.2.9 I'm getting that if
in Firebug console I execute

	var hls = $('.annotator-hl');
	var hlanns = hls.data('annotation');
	console.log(hls);
	console.log(hlanns);

if I have MANY highlights, I only get ONE annotation.

What is the correct way to get ALL the annotations?

TIA

E.T.
PS hope I'm not making a silly mistake...




More information about the annotator-dev mailing list