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