diff --git a/lib/koenig-editor/addon/components/koenig-card.js b/lib/koenig-editor/addon/components/koenig-card.js index 5ceb06c8d..9163b52a2 100644 --- a/lib/koenig-editor/addon/components/koenig-card.js +++ b/lib/koenig-editor/addon/components/koenig-card.js @@ -81,7 +81,7 @@ export default Component.extend({ // TODO: replace with Spirit classes let baseStyles = 'cursor: default; caret-color: auto;'; - this.set('_style', htmlSafe(`${baseStyles} ${this.style}`)); + this.set('_style', htmlSafe(`${baseStyles} ${this.style || ''}`)); if (isSelected !== this._lastIsSelected) { if (isSelected) {