ckeditor / ckeditor5-react

Official CKEditor 5 React component.
https://ckeditor.com/ckeditor-5
Other
426 stars 100 forks source link

How can I preview the entire content in the editor at once with an isolated independent preview button to generate a preview in a separate section while keeping the security & sanitization in check. #464

Closed jasmeet2021 closed 7 months ago

jasmeet2021 commented 8 months ago

I have a requirement of previewing the entire content in the editor area via an independent html preview button which when clicked shows the preview of the editors entire content in a separate preview section with keeping the security & sanitizations in check

I am using Nextjs with CKeditor-5-40.1.0 custom build.

To give more context I want to achieve the "preview editor data" button feature of previewing the content editor's like this https://ckeditor.com/docs/ckeditor5/latest/features/html/html-embed.html#demo

image

Witoso commented 7 months ago

Duplicate: ckeditor/ckeditor5#16139