Merge branch 'master' into doc/api
This commit is contained in:
commit
870fe2c74e
47 changed files with 420 additions and 341 deletions
|
|
@ -132,6 +132,11 @@ var Text = function(parentEl) {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
// Size and width can be null if the editor is not visible or
|
||||
// detached from the document
|
||||
if (!this.element.offsetWidth)
|
||||
return null;
|
||||
|
||||
var style = this.$measureNode.style;
|
||||
var computedStyle = dom.computedStyle(this.element);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue