Skip to content

Commit

Permalink
fix #1437
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed May 18, 2017
1 parent c8dfa58 commit c4d8978
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blots/scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class Scroll extends Parchment.Scroll {
return whitelist;
}, {});
}
// Some reason fixes composition issues with character languages in Windows/Chrome, Safari
this.domNode.addEventListener('DOMNodeInserted', function() {});
this.optimize();
this.enable();
}
Expand Down

2 comments on commit c4d8978

@gitTest3From163
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jhchen Could you please tell me how the code works? I am very interested in it

@mk-pmb
Copy link

@mk-pmb mk-pmb commented on c4d8978 Jun 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some explanation attempts for this code can be found in #1768 .

Please sign in to comment.