basecamp / basecamp/trix

Quote and code blocks merge if adjacent

Open
#433 6 comments 0 reactions 0 assignees View on GitHub
bug confirmed
Dominant language
JavaScript
Stars
20k
Forks
1.1k
Avg merge
3d 12h
Merged PRs (30d)
13

Description

When there are no paragraphs between two blockquotes, the blockquotes get merged into one. That alone is a problem for me (I sort content by blocks), but the biggest problem is, that not even any newline is kept → two words of different paragraphs become a single word
It's the same with code-blocks

I would suggest that two blocks always stay two blocks.
Is there a quick way to solve this via the api?
Thank you

![screen recording 2017-07-30 at 02 29 pm](https://user-images.githubusercontent.com/9105589/28753334-25bd5bca-7534-11e7-97d7-07d49f07d82c.gif)
![screen recording 2017-07-30 at 02 30 pm](https://user-images.githubusercontent.com/9105589/28753335-295972aa-7534-11e7-86c9-f4a978cedab5.gif)

##### Steps to Reproduce

1. in line 1, create a quote and write something
2. press enter 3 times
3. create a quote and write something
4. delete line 2

##### Details

* Trix version: latest, 10.2? trix-editor.org
* Browser name and version: Chrome 59 (and latest Firefox & Safari)
* Operating system: macOS

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.