Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore backwards compatibility with SimpleMDE #58

Merged
merged 4 commits into from
Mar 4, 2019

Conversation

Ionaru
Copy link
Owner

@Ionaru Ionaru commented Feb 20, 2019

This PR proposes a change that will restore backwards compatibility with SimpleMDE, resolving #41.

Notable changes:

  • no-disable and no-mobile classes will be added to the toolbar button when present in className.
  • Icon classes in the className field, like fa and fa-icon, will be moved to the toolbar icon class.
  • Any other classes in the className field will be added to the toolbar button.
  • Types for noDisable and noMobile were added to the typings file.
  • Updated packages

* Removed redundant code.
* Renamed function to better reflect its behaviour.
* Marked `noDisable` and `noMobile` as optional.
@Ionaru Ionaru marked this pull request as ready for review February 20, 2019 01:03
@Ionaru
Copy link
Owner Author

Ionaru commented Feb 20, 2019

@ChrisRast and @mike-jewell, can you have a look at this change to see if is solved your issues?

Dist files can be found here: https://github.com/Ionaru/easy-markdown-editor/tree/bugfix/simplemde-compatibility/dist

@Ionaru Ionaru merged commit 14bfa67 into master Mar 4, 2019
@Ionaru Ionaru deleted the bugfix/simplemde-compatibility branch March 4, 2019 14:56
@Ionaru
Copy link
Owner Author

Ionaru commented Mar 4, 2019

Merged due to lack of feedback, assuming change resolves issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant