forked from odoo/odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] web_editor : fix whitelist of html pasted elements
whitelist of html element was not designed to keep the style set by our own editor ( style on <span>). We add a system to keep the spans when they meet some requirements. Requirements are basically having one of the few allowed inline styling css rule. @see tests in `test/spec/copyPaste.test.js` section 'Html Paste cleaning' task-2604627 X-original-commit: da92c23 Part-of: odoo#89210
- Loading branch information
Showing
1 changed file
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters