sparksuite / simplemde-markdown-editor

A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://simplemde.com
MIT License
9.79k stars 1.12k forks source link

Unable to type in mobile, text repeats on space #802

Open rahulnjs opened 3 years ago

rahulnjs commented 3 years ago

ezgif-6-5af1b1f547a8

Configuration

let simplemde = new SimpleMDE({
            element: document.getElementById('id'),
            status: [],
            toolbar: ["bold", "italic", "heading",
                "|", "quote", "unordered-list", "ordered-list",
                "|", "code", "link", "image"],
            placeholder: 'Type here...'
 });
Ionaru commented 3 years ago

In my fork of this project: https://github.com/Ionaru/easy-markdown-editor we've done a few enhancements for mobile use. Please check if that version works better for you.

corneliusroemer commented 3 years ago

Thank you for these splendid Gifs and demonstrating the issue with vanilla Simple MDE. The problem plagues Gitea and hence Codeberg which is how I started investigating.

@Maintainers: Do you have any intentions to fix this mobile issue?

Downstream bug examples: https://github.com/go-gitea/gitea/issues/12146 https://github.com/go-gitea/gitea/issues/13132 https://codeberg.org/Codeberg/Community/issues/363#issuecomment-162225

@Ionaru Can you point us to specific enhancements that address the issue raised here? If you figured out the root cause, maybe the bug could be fixed here and help everyone downstream, not just your fork.

Ionaru commented 3 years ago

All enhancements that were done can be found in the changelog: https://github.com/Ionaru/easy-markdown-editor/blob/master/CHANGELOG.md.

llee454 commented 2 years ago

I'm observing the same bug. It occurs exactly as rahulnjs demonstrates. Is there a known workaround for this?