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

can't use as node_modules #16

Closed
okmttdhr opened this issue Feb 11, 2016 · 0 comments
Closed

can't use as node_modules #16

okmttdhr opened this issue Feb 11, 2016 · 0 comments

Comments

@okmttdhr
Copy link
Contributor

I got error like below if I use medium-editor-markdown via npm.

Uncaught ReferenceError: toMarkdown is not defined

My code is something like this.

import MediumEditor from 'medium-editor';
import MeMarkdown from 'medium-editor-markdown';

const editor = new MediumEditor(editableEl, {
  extensions: {
    markdown: new MeMarkdown((md) => {
      markDownEl.textContent = md
    })
  }
});
okmttdhr added a commit to okmttdhr/medium-editor-markdown that referenced this issue Feb 11, 2016
@IonicaBizau IonicaBizau mentioned this issue Feb 11, 2016
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

No branches or pull requests

1 participant