Skip to content

SEO-2626 - AngularJS Multiple H1 #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: hotfix/hotfix-v20.3.0.47
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions angularjs/RichTextEditor/ImportAndExport.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Import and Export in RichTextEditor widget
description: Import content from word document into the RichTextEditor and Export the RichTextEditor content into word or PDF document.
title: Import and Export in AngularJS RichTextEditor Control | Syncfusion
description: Learn here all about Import and Export support in Syncfusion Essential AngularJS RichTextEditor control, its elements, and more.
platform: AngularJS
control: RichTextEditor
documentation: ug
keywords: RichTextEditor, server side XHTML Validation, RTE import, RTE export, export to PDF, export to Word
---
# Import
# Import in AngularJS RichTextEditor

Import feature provides support to import a word document into the editor `textarea`. To enable import option in the RTE tool bar, `import` toolbar items needs to be added in RTE toolbar toolsList using `importExport` which adds the tool in the toolbar. In `importSettings` url option, the server page for import is needed to be mapped. When you click the toolbar import icon, it opens a dialog to browse the select a word file. The selected word file will be imported into the editor `textarea`.

Expand Down Expand Up @@ -116,9 +116,9 @@ Full list of assemblies needed for RTE Import are as follows
4. Syncfusion.Compression.Base
5. Syncfusion.DocIO.Base

![](ImportAndExport_images/import_images.png)
![AngularJS RichTextEditor import](ImportAndExport_images/import_images.png)

# Export
## Export

Export feature provides support to export editor `textarea` content into word and PDF files. To enable Export option in the RTE tool bar, `wordExport` , `pdfExport` toolbar items needs to be added in RTE toolbar toolsList using `importExport` which adds the tool in the toolbar. `exportToWordSettings` consists of url and fileName sub properties. In url property, the server page for export to word is needed to be mapped and In fileName property, the name for the exported word file is given. `exportToPdfSettings` consists of url and fileName sub properties. In url property, the server page for export to PDF is needed to be mapped and In fileName property, the name for the exported PDF file is given. When you click the toolbar pdfExport or wordExport icon, the contents of RTE are sent to the server. It performs XHTML Validation on the editor `textarea` content on the server. Once the XHTML validation and formatting is successful, it exports the content into a Word or PDF File.

Expand Down Expand Up @@ -217,7 +217,7 @@ Export Helper functions are available in the Assembly `Syncfusion.EJ.Export`, wh
6. Syncfusion.PDF.Base

### Word Export
![](ImportAndExport_images/export_word_images.png)
![AngularJS RichTextEditor export word](ImportAndExport_images/export_word_images.png)

### PDF Export
![](ImportAndExport_images/export_pdf_images.png)
![AngularJS RichTextEditor export pdf](ImportAndExport_images/export_pdf_images.png)