ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.47k stars 3.7k forks source link

Docs issue report from "tutorials/abbreviation-plugin/abbreviation-plugin-level-2.html" #14988

Open travisLilleberg opened 1 year ago

travisLilleberg commented 1 year ago

Origin URL

https://ckeditor.com/docs/ckeditor5/latest/tutorials/abbreviation-plugin/abbreviation-plugin-level-2.html

Project version

39.0.2

Is the information outdated? How?

Near the end of the documentation it says to add this code:

// Hide the form view when clicking outside the balloon. clickOutsideHandler( { emitter: formView, activator: () => this._balloon.visibleView === formView, contextElements: [ this._balloon.view.element ], callback: () => this._hideUI() } );

I've copy-pasted the exact code from the documentation into my app in the same place, and rebuilt via webpack.

When I view index.html, the app is broken and I get the following error:

_createFormView@file:///......./Desktop/ckeditor-advanced/dist/bundle.js:160:5 init@file:///......./Desktop/ckeditor-advanced/dist/bundle.js:122:26 promise callback*./node_modules/@ckeditor/ckeditor5-core/src/plugincollection.js/init/initPlugins/<@file:///......./Desktop/ckeditor-advanced/dist/bundle.js:6490:32 initPlugins@file:///......./Desktop/ckeditor-advanced/dist/bundle.js:6483:36 init@file:///......./Desktop/ckeditor-advanced/dist/bundle.js:6306:16 initPlugins@file:///......./Desktop/ckeditor-advanced/dist/bundle.js:5294:29 ./node_modules/@ckeditor/ckeditor5-editor-classic/src/classiceditor.js/create/<@file:///......./Desktop/ckeditor-advanced/dist/bundle.js:6829:28 create@file:///......./Desktop/ckeditor-advanced/dist/bundle.js:6827:16 @file:///......./Desktop/ckeditor-advanced/dist/bundle.js:98791:6 @file:///......./Desktop/ckeditor-advanced/dist/bundle.js:98803:3 @file:///......./Desktop/ckeditor-advanced/dist/bundle.js:98805:12

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

No response

Is there anything else you would like to add?

No response

User agent

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0

CKEditorBot commented 1 week ago

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.