Hi all,
I got a list of records and in that I got a field called Description so in description I am using CK editor for adding in HTMl format and while displaying I am converting back to text as it was stored previously.
But while updating the record I got an edit icon and on click of that Icon I display popup and in that popup I got CKEditor. So while updating the data is fetched properly in CKEditor and I can format the content and update.
But this is happening only for one record, when I click another record the data is fetched properly but I am unable to format it or add different styles in it.
It is working for only first record but not for second record.
I don't have an .oml file to share but this is what is happening is there any solution for this Or is there any way to refresh the CKEditor/Container ID.
Regards,Vin J
sure, please have a look at the attached file
Hi Vin j
Are you using the identifier filter in the entity for the edit, if not that is only fetching the current one and updating this only.
If this is not a problem then try to show the things how you are using.
Hope this helps
thanks
Prince
Hi Prince Aadil Khan Panwar,
Yes we are using Id to fetch data and data is fetching properly but I am not able to edit or format data second time in editor. For first time it is working fine.
Like eg: If the data fetched is having bold statement and I want to remove the bold and make it normal for first time it is working fine but second time for other record editor is not allowing me to make it UnBold or change the font.
Try to share the screenshot how you guys are saving the data.
Hi Vin J,
Though I didn't get your issue properly. I would suggest you give a try on the CK Editor 4. Please find the Forge Component Attached - CK Editor 4 Reactive
I have used this component in our project, it's absolutely working fine and can be edited and saved 'n' no of times without any issue.
Its quite simple and straight forward and let me know if you need sample OML
Hope it helps.
Hi Muneera,
It will be great if you share the .oml file
Regards,
Vin J
Thank you muneera