Rich Text Editor's paste cleanup features
Paste from External Sources
The Rich Text Editor lets you paste content from the external sources such as Microsoft Word, Excel, PowerPoint, Web and PDF and from other word editors. The editor also persists copied content properties and can perform all the featured formatting after the content is pasted.
Paste from Microsoft Word or Outlook
The Rich Text Editor will accept almost all the content present in clipboard. The editor validates the type of source from where it is copied before presenting it in UI.
Supported elements:
The Rich Text Editor maintain the following formats on pasting the content from MS Word or Outlook.
- Plain Text Format
- Background color of copied text
- Font-Color
- Font-size
- Text formatting (Bold, Italic, underline and strike through)
- Alignment (right, left and center align)
- Table format
- Cell dimensions
- Table content
- Table dimension (height, width and padding)
- Images
- Images with actual dimensions
- Hyperlinks
- Lists
- Numbered list
- Bulleted list
Paste from MS Excel
The editor allows pasting the MS Excel content as table format.
Supported elements:
The Rich Text Editor maintain the following formats on pasting content from MS Excel.
- Plain Text Format
- Background color of copied text
- Table format
- Cell dimensions
- Table content
- Table dimension (height, width and padding)
- Images
- Images with actual dimensions (image will be render into editor, if it is hosted in server)
- Hyperlinks
Paste from PDF
While copying and pasting content from a PDF, it allows only plain text contents.
Supported elements:
- Plain Text Format
- Images (if image alone copied from PDF)
Paste from Web
You can also copy and paste any web page contents to the Rich Text Editor. The styles of pasted content in editor will be applied as it is in webpage.
Supported elements:
- Plain Text Format
- Background color of copied text
- Font-Color
- Font-size
- Text formatting (Bold, Italic, underline, and strike through)
- Alignment (right, left, and center align)
- Table format
- Cell dimensions
- Table content
- Table dimension (height, width, and padding)
- Images
- Images with actual dimensions (image will be rendered into the editor, if it is hosted in server)
- Hyperlinks
Live demo for pasting from external sources.