Skip to content

Commit

Permalink
fix bug #1068
Browse files Browse the repository at this point in the history
  • Loading branch information
incode11 committed May 24, 2016
1 parent 0820080 commit 2a5b77f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/js/medium-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,10 @@ MediumEditor.extensions = {};
// FF handles blockquote differently on formatBlock
// allowing nesting, we need to use outdent
// https://developer.mozilla.org/en-US/docs/Rich-Text_Editing_in_Mozilla

/* fix bug #1068 Quote is not working after orderedlist/unorderedlist list was removed*/
doc.execCommand('formatBlock', false, "BLOCKQUOTE");

return doc.execCommand('outdent', false, null);
}
}
Expand Down

0 comments on commit 2a5b77f

Please sign in to comment.