You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing custom toolbar icons, the no-disable class previously used in SimpleMDE is not respected.
Check this JSFiddle: https://jsfiddle.net/myv5wgh0/.
Also, the changes in v2 resulted in changes in the shape of the toolbar objects, which makes it a breaking change with SimpleMDE (need to add the noDisableproperty in EasyMDE).
So, no big bad breaking change, but I think it's worth mentioning it.
I found this "bug" because in a project of ours we use a different set of toolbar icons (material) and we needed to customize the actions.
Version information
EasyMDE version: >2.0.0
The text was updated successfully, but these errors were encountered:
I'm hitting the same problem for a different reason. Do you have a timeline for when the typings will be updated so the noDisable and noMobile booleans will be added to the interface ToolbarIcon?
I'm submitting a...
Reproduction steps
When passing custom toolbar icons, the
no-disable
class previously used in SimpleMDE is not respected.Check this JSFiddle: https://jsfiddle.net/myv5wgh0/.
Due to a change in early v2 (7b147b3#diff-510834ebe67771ad1adc3336cb7fd314R16116),
element.classList
is now used instead of theelement.className
previously in use which results in a loss of classnames.Also, the changes in v2 resulted in changes in the shape of the toolbar objects, which makes it a breaking change with SimpleMDE (need to add the
noDisable
property in EasyMDE).So, no big bad breaking change, but I think it's worth mentioning it.
I found this "bug" because in a project of ours we use a different set of toolbar icons (material) and we needed to customize the actions.
Version information
EasyMDE version: >2.0.0
The text was updated successfully, but these errors were encountered: