cancel
Showing results for 
Search instead for 
Did you mean: 

Adding ckeditor to Magento 2.4 wont save cotent

Adding ckeditor to Magento 2.4 wont save cotent

Does anyone have problem following this tutorial? -> https://devdocs.magento.com/guides/v2.4/ui_comp_guide/components/wysiwyg/add-custom-editor/

my will not save anything. It only saves in source mode.

6 REPLIES 6

Re: Adding ckeditor to Magento 2.4 wont save content

And i get 0 errors

Re: Adding ckeditor to Magento 2.4 wont save content

@Dritoncazi6495 

 

Add some data in editor (headings/paragraphs/bullets) and then switch to source mode, check if it converts the data or not, also check in network tab because it may have issue with any ajax call.

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: Adding ckeditor to Magento 2.4 wont save content

It does not convert the data. It all disappers

Re: Adding ckeditor to Magento 2.4 wont save content

content is not passing though the content.

The admin where i im trying to save thThe admin where i im trying to save th

As you can see

 

Re: Adding ckeditor to Magento 2.4 wont save content

Hello, did you find a solution?

Re: Adding ckeditor to Magento 2.4 wont save cotent


@Dritoncazi6495 wrote:

Does anyone have problem following this tutorial? -> https://devdocs.magento.com/guides/v2.4/ui_comp_guide/components/wysiwyg/add-custom-editor/

my will not save anything. It only saves in source mode.


If the source element is not <textarea>, CKEditor 5 clears its content after the editor is destroyed. However, if you would like to enable updating the source element with the output coming from the data pipeline, you can use the updateSourceElementOnDestroyconfiguration option. I also got same issue in my u part human hair wig website but this will help you to resolve the issue.