添加多种文本类型特征。
每当我尝试添加多个带有不同条件和标签的文字特征时,每个特征条件都只用最后一个。 请帮我解决这个问题。
artf
先看问题模板,然后提供代码和演示
amitbhoj777
编辑。DomComponents.addType('text', { isComponent: el =>( (el.attributes&&el.attributes.paraJustify&&el.attributes.paraJustify.value) ), 型号:{ 默认值:{ 特质:[ { 类型:“选择”, 选项:[ { 值:'text-align:center',名称:'Center' }, { 值:'text-align:left ', name: 'Lef...