From 8310ff11956d09dd833329db09f9d131531ef686 Mon Sep 17 00:00:00 2001 From: Seenivasaperumal Nachiyappan Date: Tue, 28 Jul 2026 10:14:57 +0530 Subject: [PATCH 1/2] 1043288: Updating the md files for angular --- .../angular/paragraph-format.md | 55 +++++++++---------- .../angular/unsupported-features.md | 34 ++++++------ 2 files changed, 44 insertions(+), 45 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/angular/paragraph-format.md b/Document-Processing/Word/Word-Processor/angular/paragraph-format.md index 70f6013e1a..4876ae0b0f 100644 --- a/Document-Processing/Word/Word-Processor/angular/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/angular/paragraph-format.md @@ -1,14 +1,14 @@ --- layout: post -title: Paragraph format in Angular Document editor component | Syncfusion -description: Learn here all about Paragraph format in Syncfusion Angular Document editor component of Syncfusion Essential JS 2 and more. +title: Paragraph format in Angular DOCX Editor component | Syncfusion +description: Learn here all about Paragraph format in Syncfusion Angular Document Editor component of Syncfusion Essential JS 2 and more. platform: document-processing control: Paragraph format documentation: ug domainurl: ##DomainURL## --- -# Paragraph format in Angular Document editor component +# Paragraph format in Angular Document Editor component [Angular DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor) supports various paragraph formatting options such as text alignment, indentation, paragraph spacing, and more. @@ -23,7 +23,7 @@ this.documentEditor.selection.paragraphFormat.rightIndent= 24; ## Special indentation -You can define special indent for first line of the paragraph using the following sample code. +You can define a special indent for the first line of the paragraph using the following sample code. ```typescript this.documentEditor.selection.paragraphFormat.firstLineIndent= 24; @@ -31,7 +31,7 @@ this.documentEditor.selection.paragraphFormat.firstLineIndent= 24; ## Increase indent -You can increase the left indent of selected paragraphs by a factor of 36 points using the following sample code. +You can increase the left indent of selected paragraphs by 36 points using the following sample code. ```typescript this.documentEditor.editor.increaseIndent(); @@ -39,7 +39,7 @@ this.documentEditor.editor.increaseIndent(); ## Decrease indent -You can decrease the left indent of selected paragraphs by a factor of 36 points using the following sample code. +You can decrease the left indent of selected paragraphs by 36 points using the following sample code. ```typescript this.documentEditor.editor.decreaseIndent(); @@ -87,27 +87,11 @@ this.documentEditor.selection.paragraphFormat.spaceBeforeAuto = true; this.documentEditor.selection.paragraphFormat.spaceAfterAuto = true; ``` ->Note: If auto spacing property is enabled, then value defined in the `beforeSpacing` and `afterSpacing` property will not be considered. +N>: If auto spacing property is enabled, then value defined in the `beforeSpacing` and `afterSpacing` property will not be considered. -## Pagination properties +## Paragraph border -You can enable or disable the following pagination properties for the paragraphs in a Word document. - -* Widow/Orphan control - whether the first and last lines of the paragraph are to remain on the same page as the rest of the paragraph when paginating the document. -* Keep with next - whether the specified paragraph remains on the same page as the paragraph that follows it while paginating the document. -* Keep lines together - whether all lines in the specified paragraphs remain on the same page while paginating the document. - -The following example code illustrates how to enable or disable these pagination properties for the selected paragraphs. - -```typescript -this.documenteditor.selection.paragraphFormat.widowControl = false; -this.documenteditor.selection.paragraphFormat.keepWithNext = true; -this.documenteditor.selection.paragraphFormat.keepLinesTogether = true; -``` - -## Paragraph Border - -You can apply borders to the paragraphs in a Word document. Using borders, decorate the paragraphs to set them apart from other paragraphs in the document. +You can apply borders to the paragraphs in a Word document. Using borders, you can decorate the paragraphs to set them apart from other paragraphs in the document. The following example code illustrates how to apply box border for the selected paragraphs. @@ -131,14 +115,29 @@ this.documenteditor.selection.paragraphFormat.borders.top.color = "#000000"; this.documenteditor.selection.paragraphFormat.borders.bottom.lineStyle = 'Single'; this.documenteditor.selection.paragraphFormat.borders.bottom.lineWidth = 3; this.documenteditor.selection.paragraphFormat.borders.bottom.color = "#000000"; - ``` -Note: At present, the Document editor component displays all the border styles as single line. But you can apply any border style and get the proper display in Microsoft Word app when opening the exported Word document. +N> At present, the Document Editor component displays all the border styles as single line. But you can apply any border style and get the proper display in Microsoft Word app when opening the exported Word document. + +## Pagination properties + +You can enable or disable the following pagination properties for the paragraphs in a Word document. + +* Widow/Orphan control - whether the first and last lines of the paragraph are to remain on the same page as the rest of the paragraph when paginating the document. +* Keep with next - whether the specified paragraph remains on the same page as the paragraph that follows it while paginating the document. +* Keep lines together - whether all lines in the specified paragraphs remain on the same page while paginating the document. + +The following example code illustrates how to enable or disable these pagination properties for the selected paragraphs. + +```typescript +this.documenteditor.selection.paragraphFormat.widowControl = false; +this.documenteditor.selection.paragraphFormat.keepWithNext = true; +this.documenteditor.selection.paragraphFormat.keepLinesTogether = true; +``` ## Show or Hide Paragraph marks -You can show or hide the hidden formatting symbols like spaces, tab, paragraph marks, and breaks in Document editor component. These marks help identify the start and end of a paragraph and all the hidden formatting symbols in a Word document. +You can show or hide the hidden formatting symbols like spaces, tab, paragraph marks, and breaks in Document Editor component. These marks indicate the start and end of a paragraph, as well as all the hidden formatting symbols in a Word document. The following example code illustrates how to show or hide paragraph marks. diff --git a/Document-Processing/Word/Word-Processor/angular/unsupported-features.md b/Document-Processing/Word/Word-Processor/angular/unsupported-features.md index 80bf8e6b67..ead9eed013 100644 --- a/Document-Processing/Word/Word-Processor/angular/unsupported-features.md +++ b/Document-Processing/Word/Word-Processor/angular/unsupported-features.md @@ -8,9 +8,9 @@ documentation: ug domainurl: ##DomainURL## --- -# Unsupported Features in Angular DOCX Editor +# Unsupported Features in Angular Document Editor -This section describes the unsupported elements in [Angular DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor) +This section describes the unsupported elements in [Angular Document Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor). ## Document formatting @@ -19,25 +19,25 @@ This section describes the unsupported elements in [Angular DOCX Editor](https:/ | Paragraph Properties | Shading | No | | | Mirror indent | No | | | Suppress line numbers | No | -| | Don’t hyphenate | No | -| | Border styles (*Except dotted and dashed; other styles are rendered as solid*) | Partial | -| Text Properties | Shading | No | -| | Position | No | -| | Font kerning | No | -| | Ligatures | No | -| | Number spacing | No | -| | Number forms | No | -| | Stylistic sets | No | -| | Contextual alternates| No | +| | Don't hyphenate | No | +| | Border styles (except dotted and dashed; other styles are rendered as solid) | Partial | +| Text Properties | Shading | No | +| | Position | No | +| | Font kerning | No | +| | Ligatures | No | +| | Number spacing | No | +| | Number forms | No | +| | Stylistic sets | No | +| | Contextual alternates | No | | | Text Direction (Top to Bottom, Bottom to Top) | No | -| | Border styles (*Except dotted and dashed; other styles are rendered as solid*) | Partial | +| | Border styles (except dotted and dashed; other styles are rendered as solid) | Partial | | Section Formatting | Mirror margins | No | | | Gutter | No | | | Line numbers | No | | | Bi-direction | No | | Page background | Page background color or image | No | -| Watermark | Text and Picture watermark| No | -| Table Format | Border styles (*Except dotted and dashed; other styles are rendered as solid*) | Partial | +| Watermark | Text and Picture watermark | No | +| Table Format | Border styles (except dotted and dashed; other styles are rendered as solid) | Partial | ## Word Document Elements @@ -49,8 +49,8 @@ This section describes the unsupported elements in [Angular DOCX Editor](https:/ | Ink/Draw | No | | Video or audio files | No | | Macros | No | -| Models, Smart-Art, and Charts | [Supported Charts](https://help.syncfusion.com/document-processing/word/word-processor/angular/chart) | -| Shapes, Textboxes, and WordArt | [Supported shapes](https://help.syncfusion.com/document-processing/word/word-processor/angular/shapes#supported-shapes) *(Shape Properties: Fill types, borders, rotation and effects are not supported) | +| Models, SmartArt, and Charts | [Supported Charts](https://help.syncfusion.com/document-processing/word/word-processor/angular/chart) | +| Shapes, Textboxes, and WordArt | [Supported shapes](https://help.syncfusion.com/document-processing/word/word-processor/angular/shapes#supported-shapes) (Shape Properties: Fill types, borders, rotation, and effects are not supported) | | Signature line | No | | Special Characters, Symbols, Equations | No | | Built-in and custom document properties | No | From f72ef281e601180130d39b76f9971c07427f138a Mon Sep 17 00:00:00 2001 From: Seenivasaperumal Nachiyappan Date: Tue, 28 Jul 2026 10:53:20 +0530 Subject: [PATCH 2/2] 1043288: Adding the md files for angular platform --- .../angular/paragraph-format.md | 2 +- .../Word/Word-Processor/angular/view.md | 26 +++++++------- .../angular/web-services-overview.md | 34 +++++++++---------- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/angular/paragraph-format.md b/Document-Processing/Word/Word-Processor/angular/paragraph-format.md index 4876ae0b0f..dcf12ca52d 100644 --- a/Document-Processing/Word/Word-Processor/angular/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/angular/paragraph-format.md @@ -10,7 +10,7 @@ domainurl: ##DomainURL## # Paragraph format in Angular Document Editor component -[Angular DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor) supports various paragraph formatting options such as text alignment, indentation, paragraph spacing, and more. +[Angular Document Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor) supports various paragraph formatting options such as text alignment, indentation, paragraph spacing, and more. ## Indentation diff --git a/Document-Processing/Word/Word-Processor/angular/view.md b/Document-Processing/Word/Word-Processor/angular/view.md index 7fbde7e7c4..e5e5e6a3b5 100644 --- a/Document-Processing/Word/Word-Processor/angular/view.md +++ b/Document-Processing/Word/Word-Processor/angular/view.md @@ -1,7 +1,7 @@ --- layout: post -title: View in Angular Document editor component | Syncfusion -description: Learn here all about View in Syncfusion Angular Document editor component of Syncfusion Essential JS 2 and more. +title: View in Angular DOCX Editor component | Syncfusion +description: Learn here all about View in Syncfusion Angular Document Editor component of Syncfusion Essential JS 2 and more. control: View platform: document-processing documentation: ug @@ -9,9 +9,9 @@ domainurl: ##DomainURL## --- # View in Angular Document Editor Component -## Web Layout +## Web layout -[Angular DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor) container component allows you to change the view to web layout and print using the [`layoutType`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container#layouttype) property with the supported [`LayoutType`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/layoutType). +[Angular Document Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor) container component allows you to change the view to a web layout or print layout using the [`layoutType`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container#layouttype) property with the supported [`LayoutType`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/layoutType). ```typescript /** @@ -37,17 +37,17 @@ 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. ->Note: Default value of [`layoutType`](https://ej2.syncfusion.com/angular/documentation/api/document-editor#layouttype) in DocumentEditorContainer component is [`Pages`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/layoutType). +N> The default value of [`layoutType`](https://ej2.syncfusion.com/angular/documentation/api/document-editor#layouttype) in the Document Editor Container component is [`Pages`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/layoutType). ### Online Demo -Explore how to view Word documents in web layout using the Angular Document Editor in this live demo [here](https://document.syncfusion.com/demos/docx-editor/angular/#/tailwind3/document-editor/web-layout). +Explore how to view Word documents in web layout using the Angular Document Editor in this [live demo](https://document.syncfusion.com/demos/docx-editor/angular/#/tailwind3/document-editor/web-layout). ## Ruler -Using ruler we can refer to setting specific margins, tab stops, or indentations within a document to ensure consistent formatting in Document Editor. +The ruler helps you set specific margins, tab stops, and indentations within a document to ensure consistent formatting in the Document Editor. -The following example illustrates how to enable ruler in Document Editor +The following example illustrates how to enable the ruler in the Document Editor. {% tabs %} {% highlight ts tabtitle="app.component.ts" %} @@ -63,13 +63,13 @@ The following example illustrates how to enable ruler in Document Editor ### Online Demo -Explore how to use the ruler in the Angular Document Editor for working with Word documents in this live demo [here](https://document.syncfusion.com/demos/docx-editor/angular/#/tailwind3/document-editor/ruler). +Explore how to use the ruler in the Angular Document Editor for working with Word documents in this [live demo](https://document.syncfusion.com/demos/docx-editor/angular/#/tailwind3/document-editor/ruler). -## Heading Navigation Pane +## Heading Navigation Pane -Using the heading navigation pane allows users to swiftly navigate documents by heading, enhancing their ability to move through the document efficiently. +The heading navigation pane allows users to quickly navigate documents by heading, making it easier to move through the document. -The following example demonstrates how to enable the heading navigation pane in a document editor. +The following example demonstrates how to enable the heading navigation pane in a Document Editor. ```typescript import { Component, OnInit } from '@angular/core'; @@ -91,4 +91,4 @@ export class AppComponent implements OnInit { ### Online Demo -Explore how to navigate through headings in Word documents using the Angular Document Editor in this live demo [here](https://document.syncfusion.com/demos/docx-editor/angular/#/tailwind3/document-editor/heading-navigation). +Explore how to navigate through headings in Word documents using the Angular Document Editor in this [live demo](https://document.syncfusion.com/demos/docx-editor/angular/#/tailwind3/document-editor/heading-navigation). diff --git a/Document-Processing/Word/Word-Processor/angular/web-services-overview.md b/Document-Processing/Word/Word-Processor/angular/web-services-overview.md index bc62541b9e..7d2d542978 100644 --- a/Document-Processing/Word/Word-Processor/angular/web-services-overview.md +++ b/Document-Processing/Word/Word-Processor/angular/web-services-overview.md @@ -1,16 +1,16 @@ --- layout: post -title: Web services in Angular Document editor component | Syncfusion -description: Learn here all about Web services in Syncfusion Angular Document editor component of Syncfusion Essential JS 2 and more. +title: Web services in Angular DOCX Editor component | Syncfusion +description: Learn here all about Web services in Syncfusion Angular Document Editor component of Syncfusion Essential JS 2 and more. platform: document-processing control: Web services documentation: ug domainurl: ##DomainURL## --- -# Web services in Angular Document editor component +# Web services in Angular Document Editor component -You can deploy web APIs for server-side dependencies of [Angular DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor) component in the following platforms. +You can deploy web APIs for the server-side dependencies of the [Angular Document Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor) (Document Editor) component on the following platforms. * [ASP.NET Core](./web-services/core) * [ASP.NET MVC](./web-services/mvc) @@ -24,12 +24,12 @@ You can deploy web APIs for server-side dependencies of [Angular DOCX Editor](ht |[Paste with formatting](./clipboard#paste-with-formatting)|When pasting the formatted content (HTML/RTF) received from system clipboard. For converting HTML/RTF to SFDT format.

**Note**: Whereas plain text received from system clipboard will be pasted directly in the client-side.|**Client**: Sends the input Html or Rtf string.
**Server**: Receives the input Html or Rtf string and sends the converted SFDT back to the client.| |[Restrict editing](./restrict-editing)|When protecting the document, for generating hash.|**Client**: Sends the input data for hashing algorithm.
**Server**: Receives the input data for hashing algorithm and sends the result hash information back to the client.| |[Spellcheck](./spell-check)(default)|When the spellchecker is enabled on client-side Document Editor, and it performs the spell check validation for words in the document.|**Client**: Sends the words (string) with their language for spelling validation.
**Server**: Receives the words (string) with their language for spelling validation and sends the validation result as JSON back to the client.| -|[SpellCheckByPage](./spell-check)|Document editor provides options to spellcheck page by page when loading the documents. By [enabling optimized spell check](./spell-check#enableoptimizedspellcheck) in client-side, you can perform spellcheck page by page when loading the documents.|**Client**: Sends the words (string) with their language for spelling validation.
**Server**: Receives the words (string) with their language for spelling validation and sends the validation result as JSON back to the client.| +|[SpellCheckByPage](./spell-check)|Document Editor provides options to spellcheck page by page when loading the documents. By [enabling optimized spell check](./spell-check#enableoptimizedspellcheck) in client-side, you can perform spellcheck page by page when loading the documents.|**Client**: Sends the words (string) with their language for spelling validation.
**Server**: Receives the words (string) with their language for spelling validation and sends the validation result as JSON back to the client.| |[Save as file formats other than SFDT and DOCX](./saving-documents/server-side-export) (optional API)|You can configure this API, if you want to save the document in file format other than DOCX and SFDT.

For saving the files as WordML, DOC, RTF, HTML, ODT, Text using Word library (DocIO) and PDF using Word (DocIO) and PDF libraries.|You can transfer document from client to server either as SFDT or DOCX format.

First option (SFDT):
**Client**: Sends the SFDT.
**Server**: Receives the SFDT and saves the converted document as any file format supported by [Word library (DocIO)](https://www.syncfusion.com/word-framework/net/word-library) in server or sends the saved file to the client browser.

Second option (DOCX):
**Client**: Sends the DOCX file.
**Server**: Receives the DOCX file and saves the converted document as any file format supported by [Word library (DocIO)](https://www.syncfusion.com/word-framework/net/word-library) in server or sends the saved file to the client browser.| ->Note: If you don't require the above functionalities then you can deploy as pure client-side component without any server-side interactions. +N> If you don't require the above functionalities, you can deploy the component as a pure client-side solution without any server-side interactions. -Please refer the [example from GitHub](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) to configure the web service and set the [serviceUrl](https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/). +Please refer to the [example from GitHub](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) to configure the web service and set the [serviceUrl](https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/). If your running web service Url is `http://localhost:62869/`, set the serviceUrl like below: @@ -39,7 +39,7 @@ this.container.serviceUrl = "http://localhost:62869/api/documenteditor/"; ## Required Web API structure -Please check below table for expected web API structure. +Please check the table below for the expected web API structure. |Expected method name |Parameters |Return type | |-----|----|----| @@ -47,14 +47,14 @@ Please check below table for expected web API structure. |SystemClipboard|CustomerParameter: content(type string either rtf or html) and type(either .rtf or .html) |json(sfdt format) | |RestrictEditing |Parameter of type CustomRestrictParameter
public class CustomRestrictParameter
{
public string passwordBase64 { get; set; }
public string saltBase64 { get; set; }
public int spinCount { get; set; }
} |result hash information | |SpellCheck(default) |Parameter: SpellCheckJsonData
public class SpellCheckJsonData
{
public int LanguageID { get; set; }
public string TexttoCheck { get; set; }
public bool CheckSpelling { get; set; }
public bool CheckSuggestion { get; set; }
public bool AddWord { get; set; }
} |Json type of Spellcheck containing details of spell checked word | -|SpellCheckByPage |Parameter: SpellCheckJsonData
public class SpellCheckJsonData
{
public int LanguageID { get; set; }
public string TexttoCheck { get; set; }
public bool CheckSpelling { get; set; }
public bool CheckSuggestion { get; set; }
public bool AddWord { get; set; }
} |Json type of Spellcheck containing details of spell checked word

**Note**: Document editor provides options to spellcheck page by page when loading the documents. By [enabling optimized spell check](./spell-check#enableoptimizedspellcheck) in client-side, you can perform spellcheck page by page when loading the documents. | +|SpellCheckByPage |Parameter: SpellCheckJsonData
public class SpellCheckJsonData
{
public int LanguageID { get; set; }
public string TexttoCheck { get; set; }
public bool CheckSpelling { get; set; }
public bool CheckSuggestion { get; set; }
public bool AddWord { get; set; }
} |Json type of Spellcheck containing details of spell checked word

**Note**: Document Editor provides options to spellcheck page by page when loading the documents. By [enabling optimized spell check](./spell-check#enableoptimizedspellcheck) in client-side, you can perform spellcheck page by page when loading the documents. | |Save(optional API) |parameter: SaveParameter
public class SaveParameter
{
public string Content { get; set; }
public string FileName { get; set; }
} |void(Save the file as file stream) | |ExportSFDT(optional API) |parameter: SaveParameter
public class SaveParameter
{
public string Content { get; set; }
public string FileName { get; set; }
} |FileStreamResult (to save the document in client-side) | |Export(optional API) |Files(IFormCollection) |FileStreamResult (to save the document in client-side) | ## Customize the expected method name -Document editor component provides an option to customize the expected method name for Import, SystemClipboard, RestrictEditing and SpellCheck using [serverActionSettings](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/documentEditorContainerModel#serveractionsettings). +Document Editor component provides an option to customize the expected method name for Import, SystemClipboard, RestrictEditing and SpellCheck using [serverActionSettings](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/documentEditorContainerModel#serveractionsettings). The following example code illustrates how to customize the method name using serverActionSettings. @@ -78,9 +78,9 @@ export class AppComponent { ``` -## Add the custom headers to XMLHttpRequest +## Add custom headers to XMLHttpRequest -Document editor component provides an an option to add custom headers of XMLHttpRequest using the [`headers`](https://help.syncfusion.com/document-processing/word/word-processor/angular/header-footer). +Document Editor component provides an option to add custom headers to the XMLHttpRequest using the [`headers`](https://help.syncfusion.com/document-processing/word/word-processor/angular/header-footer). ```typescript @@ -102,9 +102,9 @@ export class AppComponent { ``` -## Modify the XMLHttpRequest before request send +## Modify the XMLHttpRequest before sending the request -Document editor component provides an option to modify the XMLHttpRequest object (setting additional headers, if needed) using [`beforeXmlHttpRequestSend`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container#beforexmlhttprequestsend) event and it gets triggered before a server request. +Document Editor component provides an option to modify the XMLHttpRequest object (setting additional headers, if needed) using the [`beforeXmlHttpRequestSend`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container#beforexmlhttprequestsend) event, which gets triggered before a server request. You can customize the required [`XMLHttpRequest`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/xmlHttpRequestEventArgs) properties. @@ -117,9 +117,9 @@ let container: DocumentEditorContainer = new DocumentEditorContainer({ enableToolbar: true, height: '590px', }); -// Below action, cancel all server-side interactions expect spell check +// Below action, cancel all server-side interactions except spell check container.beforeXmlHttpRequestSend = (args: XmlHttpRequestEventArgs): void => { - //Here, modifying the request headers + //Modifying the request headers here args.headers = [{ syncfusion: 'true' }]; args.withCredentials = true; switch (args.serverActionType) { @@ -134,4 +134,4 @@ container.appendTo('#container'); ``` -Note: Find the customizable serverActionType values are `'Import' | 'RestrictEditing' | 'SpellCheck' | 'SystemClipboard'`. \ No newline at end of file +N> The customizable serverActionType values are `'Import' | 'RestrictEditing' | 'SpellCheck' | 'SystemClipboard'`. \ No newline at end of file