0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed invisible caret in captions for cards with no style specified

This commit is contained in:
Kevin Ansfield 2019-04-30 17:53:19 +02:00
parent dabb52cbf6
commit 88e319f89f

View file

@ -81,12 +81,9 @@ export default Component.extend({
let isEditing = this.isEditing;
let hasEditMode = this.hasEditMode;
if (this.style !== this._lastSstyle) {
// TODO: replace with Spirit classes
let baseStyles = 'cursor: default; caret-color: auto;';
this.set('_style', htmlSafe(`${baseStyles} ${this.style}`));
}
this._lastStyle = this.style;
if (isSelected !== this._lastIsSelected) {
if (isSelected) {