|
|
@ -295,6 +295,7 @@ module.exports = { |
|
|
* @private |
|
|
* @private |
|
|
* */ |
|
|
* */ |
|
|
onSelect() { |
|
|
onSelect() { |
|
|
|
|
|
const editor = this.editor; |
|
|
const model = this.em.getSelected(); |
|
|
const model = this.em.getSelected(); |
|
|
|
|
|
|
|
|
if (model) { |
|
|
if (model) { |
|
|
@ -303,6 +304,8 @@ module.exports = { |
|
|
this.hideElementOffset(); |
|
|
this.hideElementOffset(); |
|
|
this.hideHighlighter(); |
|
|
this.hideHighlighter(); |
|
|
this.initResize(el); |
|
|
this.initResize(el); |
|
|
|
|
|
} else { |
|
|
|
|
|
editor.stopCommand('resize'); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|