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 be stripped
- Paste it to the Heading 2. Inserted text should be a link only.
- Paste it to paragraph. Inserted text should not be stripped.
Simple scenario (element).
- Copy image.
- Paste it to the editor. Image should be inserted with an alternative text "Sample image".
Nested nodes.
- Copy a list item with bold and link.
- Paste it into the empty block (directly to the root) . Inserted list item should be a bold link.
- Paste it into the empty block in BlockQuote. Inserted list item should be a bold only.
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.
Auto paragraphing (disallowed block).
- Copy Heading 3 with bold and italic.
- Select all content in the editor.
- Paste copied text. Inserted content should be a paragraph and should be stripped from bold.