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.

Home Page:https://simplemde.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to type in mobile, text repeats on space

rahulnjs opened this issue · 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...'
 });

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.

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:
go-gitea/gitea#12146
go-gitea/gitea#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.

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

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