Can't find "prodigy-spans" class

Hello,

I want to access the prodigy-spans class when using ner.manual, but thedocument.getElementsByClassName(‘prodigy-spans’) just returns nothing. I also can not find prodigy-spans class name in HTML. Other class name like prodigy-root seems to work well.

My prodigy version is linux-1.11.3, and browser is Chrome.

Thanks for the heads-up – it looks like this was a mistake and the .prodigy-spans class is currently only set in the binary NER interface, not the manual UI. I already fixed this and we'll include the fix in the next release. In the meantime, you should be able to do something like this instead:

const spans = document.querySelector('.prodigy-content > div')

:ok_hand:thanks for your quick reply!