Windows: Pressing "delete" key with quote text selected removes quote itself

Steffen

Well-known member
Affected version
2.2.2
This issue only exists on Windows, not on Linux and not on macOS: Starting with a quote in the WYSIWYG editor, select all contents of the quote. Now delete the selected text (by pressing the delete key or the backspace key). What I would have expected to happen is that the quoted text is removed but an empty quote remains. What actually happens is that the whole quote is removed.

Linux and macOS behave different (better) here. Tested in Chrome 87 and Firefox 83.
 
The user who reported this issue wanted to replace a quote with "…".

Selecting the quote text and then overwriting the selection with "…" (i.e. without pressing delete/backspace first) doesn't work either.
 
Well, he can select all text and write immediatly ... without removing original text. IMO :)
edit: Ooops... don'work too...
 
I just did some testing. If there is text above the quote box it is not removing it. If the quote is the first thing in the post, it is being removed.
 
Yes, that could well be the case. I'm not sure where the boundary between Froala and XenForo exists in case of the quote element.
 
Back
Top Bottom