over 9 years ago

Recently, we implement a major features in CodeMirror while building Logdown editors.

That's Codemirror Composition Mod.

The original problem in CodeMirror is when users are using IME to input CJK words in edit area, people can't rechoose the word due to keyboard event.

Our team solve this issue by using Composition Event API to bypass keyboard event. If you are interested in implementation detail. Here is the article : 用 Composition Event 改進 CodeMirror 對輸入法的支援

Plugin: https://github.com/zhusee2/codemirror-composition-mod

Demo: Logdown editors.

← Announcing Premium Plan Using Rails 4 asset pipeline on Rails 3 for faster deploy →
comments powered by Disqus