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.
@@ -357,7 +357,7 @@ class ElTextEditorComponent {
|
|
357
357
|
const isAdmin = roles.includes('Admin');
|
358
358
|
const isCreator = roles.includes('Creator');
|
359
359
|
if (isCreator || isAdmin) {
|
360
|
-
if (editor
|
360
|
+
if (editor) {
|
361
361
|
editor.addEventListener('click', (event) => {
|
362
362
|
var _a;
|
363
363
|
const target = event.target;
|