diff --git a/django_ace/static/django_ace/widget.js b/django_ace/static/django_ace/widget.js index 8980ed7..d5226dd 100644 --- a/django_ace/static/django_ace/widget.js +++ b/django_ace/static/django_ace/widget.js @@ -162,7 +162,7 @@ ]); window[widget.id] = editor; - $(widget).trigger('ace_load', [editor]); + setTimeout(() => $(widget).trigger('ace_load', [editor]), 100); } function init() {