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.45k stars 319 forks source link

sideBySideFullscreen: false > Uncaught TypeError: Cannot read property 'className' of undefined #289

Closed Offerel closed 3 years ago

Offerel commented 3 years ago

If i set sideBySideFullscreen: false and i click the side-by-side icon, i get a error message: Uncaught TypeError: e is undefined

Steps to reproduce the behavior:

var mde = new EasyMDE({
            element: document.getElementById('md'),
            autoDownloadFontAwesome: false,
            spellChecker: false,
            autofocus: true,
            status: false,
            promptURLs: true,
            sideBySideFullscreen: false,

Expected behavior SideBySide view is opened not in fullscreen

Screenshots grafik

Version information

Offerel commented 3 years ago

The error message has now changed (at least in Chrome) to Uncaught TypeError: Cannot read property 'className' of undefined

elixirgraphics commented 3 years ago

I too have recently come across this. Seems to happen for me when I have more than one instance of EasyMDE on the page where I'm attempting to use Side-By-Side.

Offerel commented 3 years ago

In EasyMDE version: 2.14.0 the issue is solved. Many thx.