consteditor=Jodit.make('#editor'); editor.value='<p>this text contains some text</p>'; editor.e.fire('search','some text').then(()=>{ console.log('Selected!'); });
consteditor=Jodit.make('#editor'); editor.value='<p>this text thow times contains some text and some text</p>'; editor.e.fire('searchNext','some text').then(()=>{ console.log('Selected!'); editor.e.fire('searchNext','some text'); });
Search inside editor
Search plugin. it is used for custom search in text
Disable plugin:
or
JS API
Find and select some text
Find next fragment