mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
preserve color in font tags
https://anki.tenderapp.com/discussions/ankidesktop/34688-format-of-copying
This commit is contained in:
parent
eacf788b40
commit
e2d7e5a8d7
1 changed files with 1 additions and 0 deletions
|
@ -391,6 +391,7 @@ allowedTagsExtended["A"] = {"attrs": ["HREF"]};
|
|||
allowedTagsExtended["TR"] = {"attrs": ["ROWSPAN"]};
|
||||
allowedTagsExtended["TD"] = {"attrs": ["COLSPAN", "ROWSPAN"]};
|
||||
allowedTagsExtended["TH"] = {"attrs": ["COLSPAN", "ROWSPAN"]};
|
||||
allowedTagsExtended["FONT"] = {"attrs": ["COLOR"]};
|
||||
|
||||
const allowedStyling = {
|
||||
'color': true,
|
||||
|
|
Loading…
Reference in a new issue