I have a document or html content I'm displaying on CKEditor. I want a print preview button on top of my document. I dug a lot into documentation but couldn't find the right api or plugin.
I found this pagebreak feature in which I can see "Open Print Preview" button which is exactly what I need, but I don't see an api or plugin information for it. https://ckeditor.com/docs/ckeditor5/latest/features/page-break.html
This answer tells me there's a native api for it, but can't find it anywhere. https://github.com/ckeditor/ckeditor5/issues/5868#issuecomment-932193441
Do I need to do it manually outside of CKeditor using Javascript? Let me know. I also tried this CKEditor - Print Button Outside Toolbar but got an error saying function is not defined. I'm implementing it on Angular 9 currently.
I need to be able to go the browser's print preview window upon clicking a button from toolbar or somewhere on top of the document.