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:
parent
dabb52cbf6
commit
88e319f89f
1 changed files with 3 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue