bergie / hallo

Simple rich text editor (contentEditable) for jQuery UI

Home Page:http://hallojs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Converting to markdown fails if all content is deleted

NenadP opened this issue · comments

If you have blank content or delete all content and try to type, newlines will come up as div html element.

Steps to reproduce:

  1. go to http://hallojs.org/demo/markdown/
  2. delete all content in upper editable editor area
  3. hit enter
  4. divs will appear in bottom black markup screen.