From f54cb80ee16e97b5f4126b3dea6cb84cf78a8eaa Mon Sep 17 00:00:00 2001 From: Moushmi Dhanislas Date: Tue, 28 Jul 2026 11:20:51 +0530 Subject: [PATCH] 1043283: UG Correction for Angular platform --- ...ader-and-footer-edit-in-document-editor.md | 30 +++++++------- .../disable-optimized-text-measuring.md | 21 +++++----- ...able-ruler-in-document-editor-component.md | 10 ++--- .../angular/how-to/export-document-as-pdf.md | 41 +++++++++---------- .../angular/how-to/get-current-word.md | 18 ++++---- 5 files changed, 59 insertions(+), 61 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/angular/how-to/disable-header-and-footer-edit-in-document-editor.md b/Document-Processing/Word/Word-Processor/angular/how-to/disable-header-and-footer-edit-in-document-editor.md index e4c3db0b4e..884bc808eb 100644 --- a/Document-Processing/Word/Word-Processor/angular/how-to/disable-header-and-footer-edit-in-document-editor.md +++ b/Document-Processing/Word/Word-Processor/angular/how-to/disable-header-and-footer-edit-in-document-editor.md @@ -1,22 +1,22 @@ --- layout: post -title: Disable Header and Footer Edit in Angular Document Editor | Syncfusion -description: Learn here all about Disable header and footer edit in document editor in Syncfusion Angular Document editor component of Syncfusion Essential JS 2 and more. +title: Disable header and footer in Angular DOCX Editor | Syncfusion +description: Learn here all about Disable header and footer edit in Syncfusion Angular Document Editor component of Syncfusion Essential JS 2 and more. platform: document-processing -control: Disable header and footer edit in document editor +control: Disable header and footer edit in Document Editor documentation: ug domainurl: ##DomainURL## --- -# Disable header and footer edit in Angular Document editor component +# Disable header and footer editing in Angular Document Editor ## Disable header and footer edit in DocumentEditorContainer instance You can use [`restrictEditing`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#restrictediting) property to disable header and footer editing based on selection context type. -RestrictEditing allows you to restrict the document modification and makes the Document read only mode. So, by using this property, and if selection inside header or footer, you can set this property as true. +RestrictEditing allows you to restrict the document modification and puts the document in read-only mode. So, by using this property, and if the selection is inside header or footer, you can set this property as true. -The following example code illustrates how to header and footer edit in `DocumentEditorContainer` instance. +The following example code illustrates how to disable header and footer edit in `DocumentEditorContainer` instance. ```typescript import { Component, OnInit, ViewChild } from '@angular/core'; @@ -58,7 +58,7 @@ export class AppComponent implements OnInit { this.container as DocumentEditorContainerComponent ).documentEditor.selection.contextType.indexOf('Footer') > -1 ) { - // Change the document to read only mode + // Change the document to read-only mode ( this.container as DocumentEditorContainerComponent ).restrictEditing = true; @@ -72,11 +72,11 @@ export class AppComponent implements OnInit { } ``` -> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. +N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. -Otherwise, you can disable clicking inside Header or Footer by using [`closeHeaderFooter`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/selection/#closeheaderfooter) API in selection module. +As an alternative to `restrictEditing`, you can disable clicking inside header or footer by using [`closeHeaderFooter`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/selection/#closeheaderfooter) API in selection module. -The following example code illustrates how to close header and footer when selection is inside header or footer in `DocumentEditorContainer` instance. +The following example code illustrates how to disable header and footer edit in `DocumentEditorContainer` instance using `closeHeaderFooter` API. ```typescript import { Component, OnInit, ViewChild } from '@angular/core'; @@ -124,13 +124,13 @@ export class AppComponent implements OnInit { } } ``` -> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. +N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. ## Disable header and footer edit in DocumentEditor instance -Like restrictEditing, you can use [`isReadOnly`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#isreadonly) property in Document editor to disable header and footer edit. +Like restrictEditing, you can use [`isReadOnly`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#isreadonly) property in Document Editor to disable header and footer edit. -The following example code illustrates how to header and footer edit in `DocumentEditor` instance. +The following example code illustrates how to disable header and footer edit in `DocumentEditor` instance. ```typescript // import { Component, OnInit, ViewChild } from '@angular/core'; @@ -184,7 +184,7 @@ export class AppComponent { if (this.documentEditor.selection.contextType.indexOf('Header') > -1 || // Check whether selection is in Footer this.documentEditor.selection.contextType.indexOf('Footer') > -1) { - // Change the document to read only mode + // Change the document to read-only mode this.documentEditor.isReadOnly = true; } else { // Change the document to editable mode @@ -194,4 +194,4 @@ export class AppComponent { } ``` -> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. +N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. diff --git a/Document-Processing/Word/Word-Processor/angular/how-to/disable-optimized-text-measuring.md b/Document-Processing/Word/Word-Processor/angular/how-to/disable-optimized-text-measuring.md index bd08b8312f..33ca339d33 100644 --- a/Document-Processing/Word/Word-Processor/angular/how-to/disable-optimized-text-measuring.md +++ b/Document-Processing/Word/Word-Processor/angular/how-to/disable-optimized-text-measuring.md @@ -1,18 +1,18 @@ --- layout: post -title: Optimized Text Measuring in Angular Document Editor | Syncfusion -description: Learn here all about Disable optimized text measuring in Syncfusion Angular Document editor component of Syncfusion Essential JS 2 and more. +title: Disable optimized text measuring in Angular DOCX Editor | Syncfusion +description: Learn here all about Disable optimized text measuring in Syncfusion Angular Document Editor component of Syncfusion Essential JS 2 and more. platform: document-processing -control: Disable optimized text measuring +control: Disable optimized text measuring documentation: ug domainurl: ##DomainURL## --- -# Disable optimized text measuring in Angular Document editor component +# Disable optimized text measuring in Angular Document Editor component -Starting from v19.3.0.x, the accuracy of text size measurements in Document editor is improved such as to match Microsoft Word pagination for most Word documents. This improvement is included as default behavior along with an optional API [`enableOptimizedTextMeasuring`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/documentEditorSettingsModel/#enableoptimizedtextmeasuring) in Document editor settings. +Starting from v19.3.0.x, the accuracy of text size measurements in [Angular Document Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor) is improved to match Microsoft Word pagination for most Word documents. This improvement is included as the default behavior along with an optional API [`enableOptimizedTextMeasuring`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/documentEditorSettingsModel/#enableoptimizedtextmeasuring) in Document Editor settings. -If you want the [Angular DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) component to retain the document pagination (display page-by-page) behavior like v19.2.0.x and older versions. Then you can disable this optimized text measuring improvement, by setting `false` to [`enableOptimizedTextMeasuring`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/documentEditorSettingsModel/#enableoptimizedtextmeasuring) property of Angular Document Editor component. +If you want the Document Editor component to retain the document pagination (display page-by-page) behavior like v19.2.0.x and older versions, then you can disable this optimized text measuring improvement, by setting `false` to [`enableOptimizedTextMeasuring`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/documentEditorSettingsModel/#enableoptimizedtextmeasuring) property of Angular Document Editor component. ## Disable optimized text measuring in `DocumentEditorContainer` instance @@ -31,7 +31,7 @@ import { @Component({ selector: 'app-container', - template: ` The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. +N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. ## Disable optimized text measuring in `DocumentEditor` instance @@ -64,7 +63,7 @@ import { ToolbarService } from '@syncfusion/ej2-angular-documenteditor'; @Component({ selector: 'app-container', // specifies the template string for the DocumentEditorContainer component - template: ` `, + template: ` `, providers: [ToolbarService] }) export class AppComponent { @@ -74,4 +73,4 @@ export class AppComponent { } ``` -> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. \ No newline at end of file +N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. \ No newline at end of file diff --git a/Document-Processing/Word/Word-Processor/angular/how-to/enable-ruler-in-document-editor-component.md b/Document-Processing/Word/Word-Processor/angular/how-to/enable-ruler-in-document-editor-component.md index 4adc3a09de..e50bc5ffb8 100644 --- a/Document-Processing/Word/Word-Processor/angular/how-to/enable-ruler-in-document-editor-component.md +++ b/Document-Processing/Word/Word-Processor/angular/how-to/enable-ruler-in-document-editor-component.md @@ -1,16 +1,16 @@ --- -title: "how to enable ruler in document edior | Syncfusion" +title: "How to enable ruler in Angular DOCX Editor | Syncfusion" component: "DocumentEditor" description: "Learn how to enable ruler in Angular Document Editor component." platform: document-processing -control: Enable ruler +control: Enable Ruler documentation: ug domainurl: ##DomainURL## --- ## How to enable ruler in Angular Document Editor component -Using ruler we can refer to setting specific margins, tab stops, or indentations within a document to ensure consistent formatting in [Angular DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor). +The ruler helps you set specific margins, tab stops, or indentations within a document to ensure consistent formatting in [Angular Document Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor). The following example illustrates how to enable ruler in Document Editor @@ -26,9 +26,9 @@ The following example illustrates how to enable ruler in Document Editor {% previewsample "/document-processing/samples/document-editor/angular/ruler-cs1" %} -## How to enable ruler in Document Editor Container component +## How to enable ruler in Angular Document Editor Container component -Using ruler we can refer to setting specific margins, tab stops, or indentations within a document to ensure consistent formatting in Document Editor Container. +The ruler helps you set specific margins, tab stops, or indentations within a document to ensure consistent formatting in Document Editor Container. The following example illustrates how to enable ruler in Document Editor Container. diff --git a/Document-Processing/Word/Word-Processor/angular/how-to/export-document-as-pdf.md b/Document-Processing/Word/Word-Processor/angular/how-to/export-document-as-pdf.md index 0762e66a21..a7a490ee61 100644 --- a/Document-Processing/Word/Word-Processor/angular/how-to/export-document-as-pdf.md +++ b/Document-Processing/Word/Word-Processor/angular/how-to/export-document-as-pdf.md @@ -1,31 +1,30 @@ --- layout: post -title: Export document as pdf in Angular| Syncfusion -description: Learn here all about Export document as pdf in Syncfusion Angular Document editor component of Syncfusion Essential JS 2 and more. +title: Export document as PDF in Angular DOCX Editor | Syncfusion +description: Learn here all about Export document as PDF in Syncfusion Angular Document Editor component of Syncfusion Essential JS 2 and more. platform: document-processing -control: Export document as pdf +control: Export document as PDF documentation: ug domainurl: ##DomainURL## --- -# Export document as pdf in Angular Document editor component +# Export document as PDF in Angular Document Editor component -In this article, we are going to see how to export the document as PDF format. You can export the document as PDF in following ways: +In this article, we are going to see how to export the document to PDF format. You can export the document as PDF in the following ways: -To quickly get started with exporting to PDF in [Angular DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor), please check out the video below. +To quickly get started with exporting to PDF in the [Angular Document Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor), check out the video below. {% youtube "https://www.youtube.com/watch?v=JVRSc865Pa4" %} -## Export the document as pdf in client-side +## Export the document as PDF on the client side -Use [`pdf export component`](https://www.npmjs.com/package/@syncfusion/ej2-pdf-export) in application level to export the document as pdf using [`exportAsImage`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#exportasimage) API. Here, all pages will be converted to image and inserted as pdf pages(works like print as PDF). +Use [`PDF export component`](https://www.npmjs.com/package/@syncfusion/ej2-pdf-export) in application level to export the document as PDF using [`exportAsImage`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#exportasimage) API. Here, all pages will be converted to image and inserted as PDF pages (works like print as PDF). ->Note: -* The Document Editor exports PDFs by converting pages into images on the client side, which may slightly increase file size compared to text-based PDFs. -* Text search is not supported in the exported PDF, as the content is stored as images. -* You can install the pdf export packages from this [`link`](https://www.npmjs.com/package/@syncfusion/ej2-pdf-export). +N> 1. The Document Editor exports PDFs by converting pages into images on the client side, which may slightly increase file size compared to text-based PDFs. +N> 2. Text search is not supported in the exported PDF, as the content is stored as images. +N> 3. You can install the PDF export packages from this [`link`](https://www.npmjs.com/package/@syncfusion/ej2-pdf-export). -The following example code illustrates how to export the document as pdf in client-side. +The following example code illustrates how to export the document as PDF on the client side. ```typescript import { Component, OnInit, ViewChild } from '@angular/core'; @@ -116,17 +115,17 @@ export class AppComponent implements OnInit { } ``` -> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. +N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. -## Export document as pdf in server-side using Syncfusion DocIO +## Export document as PDF on the server side using Syncfusion DocIO -With the help of [DocIO](https://help.syncfusion.com/file-formats/docio/word-to-pdf), you can export the document as PDF in server-side. Here, you can search the text. +With the help of [DocIO](https://help.syncfusion.com/file-formats/docio/word-to-pdf), you can export the document as PDF on the server side. Here, you can search the text. The following way illustrates how to convert the document as PDF: -* Using [`serialize`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#serialize) API, convert the document as Sfdt and send it to server-side. +* Using [`serialize`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#serialize) API, convert the document as Sfdt and send it to the server side. -The following example code illustrates how to convert the document to sfdt and pass it to server-side. +The following example code illustrates how to convert the document to sfdt and pass it to the server side. ```typescript import { NgModule } from '@angular/core'; @@ -167,12 +166,12 @@ export class AppComponent implements OnInit { } ``` -> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. +N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. -* Using Save API in server-side, you can convert the sfdt to stream. +* Using the Save API on the server side, you can convert the sfdt to stream. * Finally, convert the stream to PDF using [`Syncfusion.DocIORenderer.Net.Core`](https://www.nuget.org/packages/Syncfusion.DocIORenderer.Net.Core) library. -The following example code illustrates how to process the sfdt in server-side. +The following example code illustrates how to process the sfdt on the server side. ```c# [AcceptVerbs("Post")] diff --git a/Document-Processing/Word/Word-Processor/angular/how-to/get-current-word.md b/Document-Processing/Word/Word-Processor/angular/how-to/get-current-word.md index c071f511f1..8407584640 100644 --- a/Document-Processing/Word/Word-Processor/angular/how-to/get-current-word.md +++ b/Document-Processing/Word/Word-Processor/angular/how-to/get-current-word.md @@ -1,16 +1,16 @@ --- layout: post -title: Get current word in Angular Document editor component | Syncfusion -description: Learn here all about Get current word in Syncfusion Angular Document editor component of Syncfusion Essential JS 2 and more. +title: Get current word in Angular DOCX Editor | Syncfusion +description: Learn here all about Get current word in Syncfusion Angular Document Editor component of Syncfusion Essential JS 2 and more. platform: document-processing -control: Get current word +control: Get current word documentation: ug domainurl: ##DomainURL## --- -# Get current word in Angular Document editor component +# Get current word in Angular Document Editor component -You can get the current word or paragraph content from the [Angular DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) component as plain text and SFDT (rich text). +You can get the current word or paragraph content from the [Angular Document Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor) component as plain text and SFDT (rich text). ## Select and get the word in current cursor position @@ -50,13 +50,13 @@ export class AppComponent implements OnInit { } ``` -> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. +N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. -To get the bookmark content as SFDT (rich text), please check this [`link`](..//how-to/get-the-selected-content#get-the-selected-content-as-sfdt-rich-text) +To get the bookmark content as SFDT (rich text), check this [`link`](./get-the-selected-content#get-the-selected-content-as-sfdt-rich-text) ## Select and get the paragraph in current cursor position -You can use [`selectParagraph`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/selection/#selectparagraph) API in selection module to select the current paragraph at cursor position and use [`text`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/selection/#text-code-classlanguage-textstringcode) API or [`sfdt`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/selection/#sfdt-code-classlanguage-textstringcode) API to get the selected content as plain text or SFDT from Angular Document Editor component. +You can use [`selectParagraph`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/selection/#selectparagraph) API in selection module to select the current paragraph at cursor position and use the [`text`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/selection/#text-code-classlanguage-textstringcode) API or [`sfdt`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/selection/#sfdt-code-classlanguage-textstringcode) API to get the selected content as plain text or SFDT from Angular Document Editor component. The following example code illustrates how to select and get the current paragraph as SFDT. @@ -90,4 +90,4 @@ export class AppComponent implements OnInit { } ``` -> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. \ No newline at end of file +N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property. \ No newline at end of file