We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5310db commit 40a2192Copy full SHA for 40a2192
src/editor.js
@@ -531,7 +531,7 @@ function createHTML(options = {}) {
531
content.oninput = function (_ref) {
532
// var firstChild = _ref.target.firstChild;
533
if ((anchorNode === void 0 || anchorNode === content) && queryCommandValue(formatBlock) === ''){
534
- if ( !compositionStatus ){
+ if ( !compositionStatus || anchorNode === content){
535
formatParagraph(true);
536
paragraphStatus = 0;
537
} else {
0 commit comments