disable search bar

I had three editor instances in my code. I don’t need a search dialog box for one of those instances. If I remove the dialog.js , I won’t have the search dialog for any of the instances, but I only want to disable it for one instance of the editor. Do you have any options to achieve that or any ideas?

You have to explicitly load the search addon for searching to be enabled. So don’t do that.