You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created custom build with necessary plugins from Online Builder.
I wanted Placeholder feature as well so followed CKEditor 5 Inline widget docs.
It is working fine in Html file
But, When I use the same build/ckeditor.js in React using @ckeditor/ckeditor5-react, It is causing the below error. TypeError: Cannot add property name, object is not extensible at new o (ckeditor.js:76) at Function.rethrowUnexpectedError (ckeditor.js:94) at El.fire (ckeditor.js:1367) at El.addMany (ckeditor.js:1513) at El.add (ckeditor.js:1505) at Zd (ckeditor.js:22251) at rh._createGroupedItemsDropdown (ckeditor.js:22497)
✔️ Expected result
Before integrating Placeholder plugin It was loading correctly.
❌ Actual result
What is the actual result of the above steps? TypeError: Cannot add property name, object is not extensible at new o (ckeditor.js:76) at Function.rethrowUnexpectedError (ckeditor.js:94) at El.fire (ckeditor.js:1367) at El.addMany (ckeditor.js:1513) at El.add (ckeditor.js:1505) at Zd (ckeditor.js:22251) at rh._createGroupedItemsDropdown (ckeditor.js:22497)
Hi @Mgsy Sorry it was my bad. There was mix of v23.0 dependencies with v3.0.0 react. I resolved it by updating the correct version dependencies.
The new issue I am facing now is, I am using redux form and CKEditor is one of redux fields. Whenever I place the cursor in textarea it is asking me to select first element in toolbar. I guess this is due to the focus ui element, can yoy help me out in resolving this.
Hi @Mgsy Sorry it was my bad. There was mix of v23.0 dependencies with v3.0.0 react. I resolved it by updating the correct version dependencies.
I'm glad you managed to solve the issue.
The new issue I am facing now is, I am using redux form and CKEditor is one of redux fields. Whenever I place the cursor in textarea it is asking me to select first element in toolbar. I guess this is due to the focus ui element, can yoy help me out in resolving this.
As the original problem has been solved, I'd like to close this ticket. Could you please create a new issue for a new problem and provide a detailed description of your problem with steps to reproduce?
📝 Provide detailed reproduction steps (if any)
TypeError: Cannot add property name, object is not extensible at new o (ckeditor.js:76) at Function.rethrowUnexpectedError (ckeditor.js:94) at El.fire (ckeditor.js:1367) at El.addMany (ckeditor.js:1513) at El.add (ckeditor.js:1505) at Zd (ckeditor.js:22251) at rh._createGroupedItemsDropdown (ckeditor.js:22497)
✔️ Expected result
Before integrating Placeholder plugin It was loading correctly.
❌ Actual result
What is the actual result of the above steps?
TypeError: Cannot add property name, object is not extensible at new o (ckeditor.js:76) at Function.rethrowUnexpectedError (ckeditor.js:94) at El.fire (ckeditor.js:1367) at El.addMany (ckeditor.js:1513) at El.add (ckeditor.js:1505) at Zd (ckeditor.js:22251) at rh._createGroupedItemsDropdown (ckeditor.js:22497)
📃 Other details
https://stackoverflow.com/questions/65949809/ckeditor-5-custom-build-when-integrated-with-react-causing-the-below-error
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: