mirror of
https://github.com/suitenumerique/docs.git
synced 2026-04-25 17:15:01 +02:00
fixup! fixup! 🐛(frontend) sanitize pasted and dropped content in document title
This commit is contained in:
@@ -170,6 +170,8 @@ test.describe('Doc Header', () => {
|
||||
|
||||
await docTitle.blur();
|
||||
await expect(docTitle).toHaveText('Pasted plain text');
|
||||
// Ensure formatting tags from text/html were not inserted.
|
||||
await expect(docTitle.locator('b, em, strong, i')).toHaveCount(0);
|
||||
});
|
||||
|
||||
test('it updates the title doc adding a leading emoji', async ({
|
||||
|
||||
Reference in New Issue
Block a user