el-text-editor 0.0.85 → 0.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -356,7 +356,7 @@ class ElTextEditorComponent {
|
|
356
356
|
const isAdmin = roles.includes('Admin');
|
357
357
|
const isCreator = roles.includes('Creator');
|
358
358
|
if (isCreator || isAdmin) {
|
359
|
-
if (editor
|
359
|
+
if (editor) {
|
360
360
|
editor.addEventListener('click', (event) => {
|
361
361
|
const target = event.target;
|
362
362
|
if (target.tagName === 'IMG') {
|