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.55k stars 3.7k forks source link

Docs issue report from "tutorials/widgets/using-react-in-a-widget.html" #15250

Open mikelinden1 opened 1 year ago

mikelinden1 commented 1 year ago

Origin URL

https://ckeditor.com/docs/ckeditor5/latest/tutorials/widgets/using-react-in-a-widget.html#demo

Project version

40.0.0

Is the information outdated? How?

Running the example code results in the following error:

TypeError: Cannot read properties of null (reading 'getAttribute') at IconView._updateXMLContent (iconview.js:67:1) at IconView.render (iconview.js:48:1) at IconView.<anonymous> (observablemixin.js:181:1) at IconView.fire (emittermixin.js:146:1) at <computed> [as render] (observablemixin.js:184:1) at ViewCollection._renderViewIntoCollectionParent (viewcollection.js:179:1) at ViewCollection.<anonymous> (viewcollection.js:63:1) at ViewCollection.fire (emittermixin.js:146:1) at ViewCollection.addMany (collection.js:106:1) at ViewCollection.add (collection.js:75:1) {phase: 'initialization', willEditorRestart: false} overrideMethod @ console.js:213 (anonymous) @ ckeditor.tsx:175 Promise.catch (async) _initializeEditor @ ckeditor.tsx:170 await in _initializeEditor (async) componentDidMount @ ckeditor.tsx:116 commitLayoutEffectOnFiber @ react-dom.development.js:23305 commitLayoutMountEffects_complete @ react-dom.development.js:24688 commitLayoutEffects_begin @ react-dom.development.js:24674 commitLayoutEffects @ react-dom.development.js:24612 commitRootImpl @ react-dom.development.js:26823 commitRoot @ react-dom.development.js:26682 performSyncWorkOnRoot @ react-dom.development.js:26117 flushSyncCallbacks @ react-dom.development.js:12042 (anonymous) @ react-dom.development.js:25651 Show 1 more frame Show less

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_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

CKEditorBot commented 2 weeks 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.