JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.77k stars 316 forks source link

Setting dropdown options as regular toolbar buttons #1475

Open adamsarek opened 3 weeks ago

adamsarek commented 3 weeks ago

Is your feature request related to a problem? Please describe. There are some dropdown options in SunEditor which we use very often in our company. The options we use (UL/OL lists & CODE text style) are always one click away from regular user to find them and it would be helpful to be able to use them outside of dropdowns.

Describe the solution you'd like I would like to be able to use dropdown options as regular toolbar buttons (same functionality & icon as in dropdown option). For dropdown options that are textual, it would be convenient to change them into icon only to avoid messing up with the overall design of the editor. A built-in icon is not necessary, but would be a welcome addition.

Thank you for your consideration.