Simplemde-markdown-editor: Single click on spacebar not working in mobile device

Created on 1 Aug 2016  路  13Comments  路  Source: sparksuite/simplemde-markdown-editor

Codemirror editor not working properly while pressing the spacebar and when I start to type it will type in horizontal, Please download the following application you can find the option(Please don't miss understand me, i am not trying to spread spam)
https://play.google.com/store/apps/details?id=com.HTML.AngularJS.Codeplay

Most helpful comment

This bug still seems to exist. Any progress or workarounds?

All 13 comments

You'll need to set up a JSFiddle to demonstrate any bugs you're experiencing.

Please download the above app, and found out the error. The app was run over 5months but now only I found this error. Plzzzzzzzzzzzzz

Downloading an app does not help. For the community to be able to help, we'll need to be able to see the complete source code and run debug tools. That's why you _must_ set up a JSFiddle.

If you're not willing to put forth effort yourself, others will not be either.

Using the default editors on https://simplemde.com/ with an android device running chrome, the bugs can be replicated. There is also another problem related to backspace deleting (held down).

It seems like the bugs (double spacebar, backspace deleting) can be fixed by disabling "predictive text on Android" http://www.pcadvisor.co.uk/how-to/google-android/how-turn-off-predictive-text-change-keyboard-settings-in-android-3601052/

This is a major breaking bug for Android rendering the editor unusable until this is fixed.

@minlare this sounds like a bug with CodeMirror, the project that powers much of SimpleMDE's editing capabilities.

This bug still seems to exist. Any progress or workarounds?

Any update?

It sure would be nice to have this fixed. Is there a bounty program?

Downloading the latest development branch from this repo and building with the latest version of CodeMirror on npm (5.26.0) seems to have fixed this bug for me (Android 7.1.1), along with some other issues such as backspace not working as expected.

any update?

I can confirm that if you clone the repo and build it locally (I got [email protected]), the spacebar problem is fixed and predictive text works fine. I'd never encountered the "backspace" problem that @minlare refers to, but I can confirm that if you lean on the backspace key, what appears to be deleted in the editing buffer is in fact persisted when you save the changes.

So a 1/2 fix, I guess. I can probably live with the backspace problem much more easily than the space problem.

Still, it'd be nice if these fixes would turn up on the CDN.

Oh. And on the iPad, there's still an awful issue with the capslock getting "stuck". It doesn't revert to lowercase after a letter is pressed. Ugh. But that looks like an iOS bug: https://github.com/codemirror/CodeMirror/issues/3403

What is the process to rebuild this repo locally with npm?

Edit: I ended up using a different fork which seems to have solved this issue: https://github.com/Ionaru/simplemde-markdown-editor

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asvae picture asvae  路  3Comments

liniu picture liniu  路  3Comments

elsuxo picture elsuxo  路  3Comments

andrelgarcia picture andrelgarcia  路  4Comments

abr4xas picture abr4xas  路  3Comments