Commit fef28241 authored by Anton's avatar Anton
Browse files

Use spaces in styleClass to allow multiple entries

parent 57b1b26d
......@@ -32,10 +32,12 @@
return this.cell.type ? this.cellTypeToClassName(this.cell.type) : ''
},
cellClasses () {
const classes = ['cell-content']
let classes = ['cell-content']
if (this.cell) {
if (this.cell.type) classes.push(`cell-type-${this.cell.type.toLowerCase()}`)
if (this.cell.styleClass) classes.push(this.cell.styleClass)
if (this.cell.styleClass) {
classes = classes.concat(this.cell.styleClass.split(' '))
}
}
return classes
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment