fixup! fixup! 🐛(frontend) sanitize pasted and dropped content in document title

This commit is contained in:
Cyril
2026-04-22 18:09:11 +02:00
parent 11778ef25b
commit 3a016304d6

View File

@@ -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 ({