fix incomplete resizing of ace editors by triggering a resize event
This commit is contained in:
@ -172,6 +172,7 @@ configureEditors: function () {
|
|||||||
$('.editor').each(function (index, element) {
|
$('.editor').each(function (index, element) {
|
||||||
this.resizeParentOfAceEditor(element);
|
this.resizeParentOfAceEditor(element);
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
window.dispatchEvent(new Event('resize'));
|
||||||
},
|
},
|
||||||
|
|
||||||
resizeParentOfAceEditor: function (element){
|
resizeParentOfAceEditor: function (element){
|
||||||
|
Reference in New Issue
Block a user