@ -8,6 +8,7 @@ module.exports = Component.extend({
src: '',
void: 1,
droppable: 0,
editable: 1,
highlightable: 0,
resizable: 1,
traits: ['alt']
@ -45,7 +45,7 @@ module.exports = ComponentView.extend({
var em = this.opts.config.em;
var editor = em ? em.get('Editor') : '';
if(editor) {
if(editor && this.model.get('editable')) {
editor.runCommand('open-assets', {
target: this.model,
onSelect() {
@ -83,6 +83,7 @@
.#{$app-prefix}select option,
.#{$clm-prefix}select option,
.#{$sm-prefix}select option,
.#{$app-prefix}fields option,
.#{$sm-prefix}unit option {
background-color: $mainColor;
color: $fontColor;