With Chrome > 53, type chinese in file editor will keep both English and Chinese chars
Summary
With Chrome > 53, type chinese in file editor will keep both English and Chinese chars
Steps to reproduce
- Type some chinese in file editor, it will will keep both English and Chinese.
Expected behavior
Only Chinese is left.
Output of checks
This bug happens on GitLab.com.
Possible fixes
Currently, gitlab use gem 'ace-rails-ap', '~> 4.1.0', it use ace v1.2.3. And ace has this problem fixed until v1.2.6, see https://github.com/ajaxorg/ace/issues/3119.
ace-rails-ap
v4.1.2 has update ace version to v1.2.6, see https://github.com/codykrieger/ace-rails-ap/commit/d5b6b9bca937aedac40ad2c2eb5c29bd02efcb80
So, update the version of ace-rails-ap
should fix this bug.