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