Browse Source

解决格式刷默认格式无效等问题

master
yangyong8650 4 years ago
parent
commit
a39ecd5544
  1. 5
      src/controllers/selection.js

5
src/controllers/selection.js

@ -1765,7 +1765,10 @@ const selection = {
} }
if(getObjType(x[c]) == "object"){ if(getObjType(x[c]) == "object"){
let format = ['bg','fc','ct','ht','vt','bl','it','cl','un','fs','ff','tb']
format.forEach(item=>{
Reflect.deleteProperty(x[c],item);
})
} }
else{ else{
x[c] = {"v": x[c] }; x[c] = {"v": x[c] };

Loading…
Cancel
Save