draft-js-markdown-shortcuts-plugin icon indicating copy to clipboard operation
draft-js-markdown-shortcuts-plugin copied to clipboard

Newline doesn't trigger expansion

Open seanmiddleditch opened this issue 7 years ago • 1 comments

Behavior observed on the public demo. Entering a newline does not trigger expansion like hitting space does. Example:

input:

text *highlight* text

produces: text highlight text

(note that 'highlight' is correctly italicized and the * are elided from the rendered output)

but input:

text *highlight*<newline>
text

produces: text *highlight* text

(note the * are left literal and the word 'highlight' is not italicized)

seanmiddleditch avatar Sep 25 '17 19:09 seanmiddleditch

I am facing the same issue. Strangely, it works fine in the demo.

aanchalgera avatar Jan 08 '18 12:01 aanchalgera