Hi Shradha,
We want to let you know that, when we copy text from a PDF file and paste it into a content editable div, the text is often pasted as plain text because the formatting information is not included in the text that is copied from the PDF file. RichTextEditor also has the same behavior, since it is a contentEditable div.
PDF files are designed to display text and images consistently across different devices and software applications, but they do not include the same level of formatting information as other document formats, such as HTML or Microsoft Word documents.
We have prepared video illustrations which demonstrates the behavior of ContentEditable div while copy and pasting contents from PDF file.
Regards,
Vinothkumar
Attachment:
Video(RTE)_f72f9ce7.zip