I am using dialog.js to display a search box in my editor instance. The setup is pretty much the same as the search/replace demo on the codemirror website. All that is working as expected; when I hit
cmd+f the search shows and works.
However, I’d like to edit some of the dialog options, like
closeOnBlur, and change the the
template a bit.
How does one go about doing this with this (or any other) addon that doesn’t define options to a CM instance?
I’ve tried to find examples online, but most of what I could find was using the normal implementation. I found this website that has a custom dialog and functionality, however the source of obfuscated.
Any help would be greatly appreciated.