I want to create a widget contains one image and one textbox, but I want to give same functionality as editable text(i.e. basic or default toolbar should come on click of that textbox), Content editor can select text and give link or attach file to the text,add bullet button, bold, italic etc etc... same as editable text box web part.How to achieve this?
Use the rich text widget. It allows for everything you're looking for.
Set your widget property data type as Long Text, it will show rich text editor in editable form for widget.
Please, sign in to be able to submit a new answer.