UNPKG

jodit-pro

Version:

PRO Version of Jodit Editor

2 lines (1 loc) 380 B
var r=Object.defineProperty;var i=(t,s)=>r(t,"name",{value:s,configurable:!0});const n={"text-justify":["inter-ideograph"]};function a(t){return t.isElement&&t.attributes.style&&Object.keys(n).forEach(s=>{var e;const o=n[s];t.style.has(s)&&o.includes((e=t.style.get(s))===null||e===void 0?void 0:e.toString())&&t.style.set(s,null)}),t}i(a,"cleanStyles");export{a as cleanStyles};