OscarGodson / EpicEditor

EpicEditor is an embeddable JavaScript Markdown editor with split fullscreen editing, live previewing, automatic draft saving, offline support, and more. For developers, it offers a robust API, can be easily themed, and allows you to swap out the bundled Markdown parser with anything you throw at it.
http://epiceditor.com
MIT License
4.25k stars 334 forks source link

Must click on first line to enter into text area in IE #316

Open Kryptonit3-zz opened 10 years ago

Kryptonit3-zz commented 10 years ago

I noticed an issue when testing my implementation in IE, when I click anywhere besides the main "line" the box does not engage.

Here is a screenshot

epiceditor

OscarGodson commented 10 years ago

Hmm, yeah. I've noticed this too before. The easiest fix, I think, could be (on our side) whenever s person clicks into the editor always call focus() manually.

jhofker commented 10 years ago

Same for IE11. Looks like it also needs something like cursor: text; applied on the element so that the mouse isn't just an arrow.

OscarGodson commented 10 years ago

@jhofker oh, so even if you click in the middle you can begin typing? I thought it wasn't even focused?

jhofker commented 10 years ago

No, sorry @OscarGodson. :-) It works just like the screenshot and boxes that @Kryptonit3 included above. We have to click on that very first line in order to be able to edit or type anything.