#se-img-prop-dialog inject this component in the DOM dynamically

This commit is contained in:
Agriya Dev5
2020-12-09 18:36:21 +05:30
parent cb9c75671a
commit cebafe58f2
3 changed files with 12 additions and 5 deletions

View File

@@ -610,6 +610,10 @@ editor.init = () => {
*/
editor.storage = localStorage;
}
// Image props dialog added to DOM
const newSeImgPropDialog = document.createElement('se-img-prop-dialog');
newSeImgPropDialog.setAttribute('id', 'se-img-prop');
document.body.append(newSeImgPropDialog);
} catch (err) {}
// get list of languages from options in the HTML