Stripping disallowed attributes by (insert|delete)Content #1088
Simple scenario.
- Copy a paragraph with italic and link.
- Paste it to the Heading 1. Inserted text should have only an italic style.
- Paste it to the Heading 2. Inserted text should have only a link.
- Paste it to the Heading 3. Inserted text should be fully stripped.
Nested nodes.
- Copy a list item with bold and link.
- Paste it into the empty block (just under the Heading 2). Inserted list item should have a bold style a link.
- Paste it into the empty block in BlockQuote. Inserted list item should be fully stripped.
Auto paragraphing.
- Copy a text with bold.
- Select all content in the editor.
- Paste copied text. Inserted content should be a paragraph and should be stripped from bold.