Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
linkesch committed Jul 28, 2016
1 parent 98ebd57 commit e497496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@
(MediumEditor.util.getClosestTag(node, 'blockquote') !== false) &&
MediumEditor.selection.getCaretOffsets(node).right === 0) {

// when cursor is at the end of <blockquote>
// then pressing enter key should <p> tag, not <blockquote>
// when cursor is at the end of <blockquote>,
// then pressing enter key should create <p> tag, not <blockquote>
p = this.options.ownerDocument.createElement('p');
p.innerHTML = '<br>';
node.parentElement.insertBefore(p, node.nextSibling);
Expand Down

0 comments on commit e497496

Please sign in to comment.