Ionaru / easy-markdown-editor

EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://stackblitz.com/edit/easymde
MIT License
2.31k stars 308 forks source link

Native spell checker isn't working #586

Open arch-fan opened 3 months ago

arch-fan commented 3 months ago

Describe the bug The native spell checker isn't working, even with the wright config works

To Reproduce Just set up the editor in a textarea with this config

easyMDE({
      element: document.getElementById("editor") as HTMLElement,
      initialValue: props.use === "editor" ? props.post.content : "",
      maxHeight: "300px",
      spellChecker: false,
      nativeSpellcheck: true,
    });

Expected behavior Spell checker working

Version information Node: 20 Browser: Brave Latest, Firefox Nightly

richard5mith commented 4 weeks ago

Isn't that because you need to add inputStyle: 'contenteditable' for nativeSpellcheck to work?

arch-fan commented 4 weeks ago

Nope, isn't working