Open elixirgraphics opened 4 years ago
There is a noDisable
option you can add to the custom button, set it to true
.
Have a look at https://github.com/Ionaru/easy-markdown-editor/blob/master/types/easymde.d.ts for all available options.
Thanks. You rock. Appreciate that. I'd think the default wouldn't be to disable the preview button at a minimum.
By default the preview button won't be disabled, but you defined a custom button. If you'd like to inherit everything from the normal preview button, just create the toolbar like this: toolbar: ['preview']
Describe the bug When using a custom icon for the Preview button in the toolbar the entire set of toolbar icons becomes disabled, including the Preview toggle.
To Reproduce Create a custom Preview button, like the one below. When the Preview button is clicked all buttons in the toolbar are disabled, including the Preview button, which makes it impossible to switch out of preview mode.
Expected behavior All buttons except the Preview, Side-By-Side and Full Screen view buttons should be disabled.