|
|
@ -23,9 +23,10 @@ export class EditorTrigger extends Trigger { |
|
|
|
const conf = super._defaultConfig(...arguments); |
|
|
|
const conf = super._defaultConfig(...arguments); |
|
|
|
|
|
|
|
|
|
|
|
return extend(conf, { |
|
|
|
return extend(conf, { |
|
|
|
baseCls: `${conf.baseCls || ""} bi-editor-trigger bi-border-radius ${ |
|
|
|
baseCls: |
|
|
|
config.simple ? "bi-border-bottom" : "bi-border" |
|
|
|
(conf.baseCls || "") + |
|
|
|
}`,
|
|
|
|
" bi-editor-trigger " + |
|
|
|
|
|
|
|
(config.simple ? "bi-border-bottom" : "bi-border bi-border-radius"), |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
validationChecker: emptyFn, |
|
|
|
validationChecker: emptyFn, |
|
|
|
quitChecker: emptyFn, |
|
|
|
quitChecker: emptyFn, |
|
|
@ -83,7 +84,7 @@ export class EditorTrigger extends Trigger { |
|
|
|
width: o.triggerWidth || toPix(o.height, 2), |
|
|
|
width: o.triggerWidth || toPix(o.height, 2), |
|
|
|
}, |
|
|
|
}, |
|
|
|
width: "", |
|
|
|
width: "", |
|
|
|
} |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|