We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when i select text of first line, then click h1 or h2 button, this error show up at console
i use this with meteor.js and my code is like
Template.editDocument.rendered = -> editor = new MediumEditor '.editable' <template name="editDocument"> {{#with document}} <div id="main-head"> <a href="{{pathFor 'viewDocument'}}" class="title">{{title}}</a> </div> <div id="main-body"> <div class="content editable" data-placeholder="开始写文档。。。">{{content}}</div> </div> {{/with}} </template>
this is part of error codes indicate around 317
while (this.parentElements.indexOf(tagName) === -1) { selectionEl = selectionEl.parentNode; tagName = selectionEl.tagName.toLowerCase(); }
The text was updated successfully, but these errors were encountered:
i've tried times
only first line can't set h1 or h2 and the other buttons work.
Sorry, something went wrong.
Heya, wich browser is that? Couldn't reproduce the problem.
chrome latest version
Got it now, it happens when the contenteditable has only text, with no tags. Going to fix it soon, thanks.
d68cf8c
oh my Ferreira ~~~ lalala awesome!
Fixes yabwe#44
73ff413
No branches or pull requests
when i select text of first line, then click h1 or h2 button, this error show up at console
i use this with meteor.js and my code is like
this is part of error codes indicate around 317
The text was updated successfully, but these errors were encountered: