mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
Fixed "undefined" appearing in markdown card styles
no issue
This commit is contained in:
parent
a5a2441c09
commit
7c0db288b4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user