team-formalist / formalist-rb

Flexible form builder
MIT License
22 stars 4 forks source link

Allow easier exiting of blockquotes style in text editor #52

Closed tobydallder closed 7 years ago

tobydallder commented 7 years ago

When selecting the blockquote style and entering text, pressing return creates a new blockquote on a new line below. Pressing enter on an empty blockquote creates the empty blockquote and also adds a new blockquote below that on another line. The only way to break out of this is by manually selecting a new style to overwrite repeated blockquote.

Replicating the behaviour currently in place with list items where returning an empty line item breaks out of the list style and returns to the default paragraph style would be nicer.

Edit: This also applies to pullquotes. And do we need support paragraph breaks in block/pullquotes?

timriley commented 7 years ago

Copied to https://github.com/icelab/formalist-standard-react/issues/104