tui.editor
tui.editor copied to clipboard
Export native Toolbar items
Current Behavior
The perfectly crafted toolbar items aren't available as a constant in any of the packages, which make it difficult to reuse them.
I believe it's possible to call getToolbarState to get them, but that's complicated, and requires to first create the Editor instance to then run getToolbarState to then manipulate those and enable only those we want, and/or add new ones.
Expected Behavior
I wish I could just import them like
import { Bold, Italic, All } from "@toast-ui/editor/toolbarItems"
Something like this would tremendously help customise/extend the toolbar.