ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Crash Course: Instructions to use CKEditorInspector. It fails to import

Open testron-eng opened this issue 1 year ago • 1 comments

Origin URL

https://ckeditor.com/docs/ckeditor5/latest/framework/develpment-tools/inspector.html

Project version

41.4.2

Is the information outdated? How?

I am following the ckeditor5 crash course. After installing node_modules I see inspector.js in @ckeditor/ckeditor-inspector/build. VSCode flags the import with this message: Could not find a declaration file for module '@ckeditor/ckeditor5-inspector'. 'c:/Users/Tom/Documents/GitHub/ckeditor/tutorial-setup/node_modules/@ckeditor/ckeditor5-inspector/build/inspector.js' implicitly has an 'any' type. Try npm i --save-dev @types/ckeditor__ckeditor5-inspector if it exists or add a new declaration (.d.ts) file containing `declare module '@ckeditor/ckeditor5-inspector'

In the browser the line CKEditorInspector.attach( editor ), CKEditorInspector is undefined.

It's acting like a javascript/typescript conflict?

Is there something missing in the guide? What is it?

No response

Is there anything else you would like to add?

A simple crash course should be flawless. We are preparing to use your editor in a existing corporate web application and we will have to create our own plugins as well as making the current and new versions of the application compatible with existing documents (app product). We hope to not have repeated problems getting this transition to work.

User agent

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36

testron-eng avatar May 29 '24 18:05 testron-eng

There has been no activity on this issue for the past year. 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 May 29 '25 23:05 CKEditorBot