simplemde-markdown-editor icon indicating copy to clipboard operation
simplemde-markdown-editor copied to clipboard

Unable to type in mobile, text repeats on space

Open rahulnjs opened this issue 5 years ago • 4 comments

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...'
 });

rahulnjs avatar Oct 18 '20 20:10 rahulnjs

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.

Ionaru avatar Nov 01 '20 12:11 Ionaru

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.

corneliusroemer avatar Dec 15 '20 18:12 corneliusroemer

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

Ionaru avatar Dec 27 '20 15:12 Ionaru

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

llee454 avatar Mar 29 '22 20:03 llee454