I’m building a Chrome Extension and I need users to be able to “detach” the extension from the default top-right location of the popup when they so desire. Note that I still want the extension to open normally when the icon is clicked. But I need that when a specific button is clicked, for the extension to close and immediately
Tag: runtime
Adding a custom drop down tool to the Quill Editor with JavaScript
Please note this is a self-answered question. The Quill Editor’s toolbar module doesn’t appear to offer a way to add custom tools to it using the JavaScript API. You can merely choose from a list of predefined tools or you have to completely rewrite the entire HTML of the toolbar which seems very hacky and often is not an option.