emoji优化
This commit is contained in:
@ -96,7 +96,11 @@ const ChatInput = ((props) => {
|
|||||||
for(var i=0; i<allElements.length;i++){
|
for(var i=0; i<allElements.length;i++){
|
||||||
let el = allElements[i]
|
let el = allElements[i]
|
||||||
if(el.tagName!="IMG"){
|
if(el.tagName!="IMG"){
|
||||||
|
if(!el.hasAttribute('emoji')){
|
||||||
el.removeAttribute('style')
|
el.removeAttribute('style')
|
||||||
|
}else if(el.getAttribute('emoji')!='emoji'){
|
||||||
|
el.removeAttribute('style')
|
||||||
|
}
|
||||||
el.removeAttribute('className')
|
el.removeAttribute('className')
|
||||||
el.removeAttribute('class')
|
el.removeAttribute('class')
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user