We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a80ff15 + 431d2c2 commit 26a41cbCopy full SHA for 26a41cb
assets/js/app.js
@@ -409,12 +409,8 @@ global.MonsieurBizRichEditorManager = class {
409
}
410
411
drawEditForm(formHtml, uiElement) {
412
- let form = document.createElement('div');
413
- form.innerHTML = formHtml;
414
-
415
- let formContainer = this.editPanel.dialog.querySelector('.js-uie-content');
416
- formContainer.innerHTML = '';
417
- formContainer.append(form);
+ this.editPanel.dialog.querySelector('.js-uie-content').innerHTML = formHtml;
+ let form = this.editPanel.dialog;
418
419
this.wysiwyg.load(form);
420
this.initUiCollectionForm(form);
0 commit comments