Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text jumps out of block quote unexpectedly when text before removed #4037

Open
mikesul opened this issue Sep 14, 2020 · 3 comments
Open

Text jumps out of block quote unexpectedly when text before removed #4037

mikesul opened this issue Sep 14, 2020 · 3 comments

Comments

@mikesul
Copy link

mikesul commented Sep 14, 2020

Expected behavior.

When text before a blockquote is removed, the quote text should remain within the quote.

Actual behavior.

The text jumps out of the quote, onto the line above.

Steps to reproduce the problem.

Confirmed via https://froala.com/wysiwyg-editor/. Start with the following HTML in the editor:

<p>Line 1</p>

<blockquote>
	<p>Quote</p>
</blockquote>

Highlight "Line 1". The specific method of highlighting this line is relevant. Two approaches have reproduced this for me: 1) triple clicking the line; 2) put the mouse before the "L" and drag downward until the line is highlighted.

Press backspace. "Quote" will be moved up to the cursor (outside of the blockquote) and an empty blockquote will remain.

This behavior does not happen with other paragraph formatting (headings and paragraph styles, for example).

Editor version.

3.2.1

OS.

Windows

Browser.

Chrome

@coolrecep
Copy link

This is still valid. Any plans to fix?

@coolrecep
Copy link

Still having this issue, any plan to fix?

@julien-mamalian
Copy link

Having the same issue on our side with the latest version (4.1.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants