Avoid spell check on certain HTML inputs manually

Quite likely, but that component is created dynamically - it does not exist when page is loading, so I have to use setTimeout() to set that attribute.
Would it make sense for add-on to check this attribute on some parent nodes as well? Or re-check the attribute before making a text check?

Please try to set the attribute in the “onInit” callback of the tinymce editor. This might work.

I removed setTimeout() so data-lt-active set directly from tinyMCE’s oninit, but it’s still the same

I looked into our code and I think I found why this doesn’t work. We are forcing LT for all TinyMCE editors and ignore the attribute. I’m sorry, we will have this fixed in the next release ~2 weeks. Thank you for your help!

Cool, thanks!

@arysin it should work now (we released 3.1.2 of the add-on). Can you check?

Thank you, looks good now!

1 Like

Hi @tiff, I’m still not able to disable LanguageTool via data-lt-active=false> Could you guys check this video - Loom | Free Screen & Video Recording Software | Loom