How to autostart plugin in embedded type editor?

How to trigger this “SearchAndReplaceOnAutoStart” plugin on type: embedded and mode: view in editor??

i tried but its not working for embedded…

Also, is there any example to search the text and replace it with image in center of the document??

Hello @anand.mainali

I’m afraid it is a faulty design issue as you cannot make any changes in viewing mode, hence any methods are imply changes to the document cannot be executed.