guardian / scribe

DEPRECATED: A rich text editor framework for the web platform

Home Page:http://guardian.github.io/scribe/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paste into area with heading in the beginning of selection

rinfex-holfer opened this issue · comments

It is fairly common situation - when you paste something in wysiwyg, when there is heading in the beginning of this wysiwyg, but Chrome and Firefox acting quite different here.

Steps to reproduce:
1) create some blocks and create heading block in the beginning.

2) copy some blocks in clipboard

pic1

3) select part of created block with heading in the beginning of selection (or whole block)

pic2

4) paste and see the result in Chrome - all pasted html converted to the one big heading.

pic3

5) and in Firefox - it's ok

pic4

Chrome behavior in this situation is very annoying - sometimes you can lose all your markup. Firefox acting normal, I think.