ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

import global from '@ckeditor/ckeditor5-utils/src/dom/global' then we got have an error

Open amitj-ap opened this issue 1 year ago • 3 comments

Reproduction steps

  1. global.window.showUI in showUI is not found https://v2res1-stag.assessprep.com/7rc53jbgalxcd5bb2japvp0ub3ui

Current behavior

No response

Expected behavior

No response

Definition of Done

  • Please leave this field for us. We will fill it during the backlog refinement session.

Relevant debug data

No response

Other details

No response

User agent

chrome and ubuntu

amitj-ap avatar Jul 18 '24 11:07 amitj-ap

I couldn't find any place where we define or use a showUI property on the global object. Please provide more information and a minimal reproducible example that we can use to reproduce this problem and help you fix it.

filipsobol avatar Jul 18 '24 12:07 filipsobol

import global from '@ckeditor/ckeditor5-utils/src/dom/global'

From whom should we import global so that this error does not occur?

global.window.showUI in showUI is not found how can i solve this below img error https://v2res1-stag.assessprep.com/7rc53jbgalxcd5bb2japvp0ub3ui

amitj-ap avatar Jul 21 '24 14:07 amitj-ap

I think that the error is confusing you into thinking that it's something with CKEditor. While we have just one showUI method in the code and it has nothing to do with the global module:

The error that you're seeing seems related to something else than CKEditor. You can try removing CKEditor usage and see whether it still occurs.

If it actually stops occurring then, we'd need to see this error in a working sample. So, in such a case, please create a minimal reproducible example.

Reinmar avatar Jul 22 '24 08:07 Reinmar

The issue lacks the feedback we asked for two weeks. Hence, we've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Aug 14 '24 02:08 CKEditorBot

We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

CKEditorBot avatar Oct 01 '24 23:10 CKEditorBot