I am creating a widget for adding div components on the editor. Along with some text in that div I also want to add a button as a part of this div.(NOTE: This button is NOT in the toolbar)
This button will be something that the user can click when he is using the editor. As a developer I need to handle the button click and do a jQuery action. Can all this be done as a part of the widget plugin I am building?