You've already forked AstralRinth
forked from didirus/AstralRinth
Add "float: right|left" support for css. (#1208)
Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
This commit is contained in:
@@ -25,6 +25,7 @@ export const configuredXss = new xss.FilterXSS({
|
|||||||
whiteList: {
|
whiteList: {
|
||||||
'image-rendering': /^pixelated$/,
|
'image-rendering': /^pixelated$/,
|
||||||
'text-align': /^center|left|right$/,
|
'text-align': /^center|left|right$/,
|
||||||
|
float: /^left|right$/,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
onIgnoreTagAttr: (tag, name, value) => {
|
onIgnoreTagAttr: (tag, name, value) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user