You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/angular/collaborative-editing/using-redis-cache-asp-net-core.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
layout: post
3
-
title: Collaborative Editing in Angular | Syncfusion
4
-
description: Learn how to enable collaborative editing in Syncfusion Angular Document editor control of Syncfusion Essential JS 2 and more.
3
+
title: Collaborative Editing in Angular with Redis in ASP.NET Core | Syncfusion
4
+
description: Learn about collaborative editing in Syncfusion Angular Document editor control With Redis in ASP.NET Core of Syncfusion Essential JS 2 and more
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/angular/comments.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,7 @@ export class AppComponent implements OnInit {
210
210
211
211
## Events
212
212
213
-
DocumentEditor provides [beforeCommentAction](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#beforecommentaction) event, which is triggered on comment actions like Post, edit, reply, resolve and reopen. This event provides an opportunity to perform custom logic on comment actions like Post, edit, reply, resolve and reopen. The event handler receives the [CommentActionEventArgs](https://ej2.syncfusion.com/angular/documentation/api/document-editor/commentActionEventArgs) object as an argument, which allows access to information about the comment.
213
+
DocumentEditor provides [beforeCommentAction](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#beforecommentaction) event, which is triggered on comment actions like Post, edit, reply, resolve and reopen. This event provides an opportunity to perform custom logic on comment actions like Post, edit, reply, resolve and reopen. The event handler receives the [CommentActionEventArgs](https://ej2.syncfusion.com/angular/documentation/api/document-editor/commentActionEventArgs/) object as an argument, which allows access to information about the comment.
214
214
215
215
To demonstrate a specific use case, let’s consider an example where we want to restrict the delete functionality based on the author’s name. The following code snippet illustrates how to allow only the author of a comment to delete:
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/angular/content-control.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ let contentControlInfos: ContentControlInfo[] = this.container.documentEditor.ex
89
89
90
90
## Reset content control
91
91
92
-
Content control properties can be reset using the [`resetcontentcontroldata`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#resetcontentcontroldata)
92
+
Content control properties can be reset using the [`resetContentControlData`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#resetcontentcontroldata)
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/angular/fields.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Document Editor has preservation support for all types of fields in an existing
14
14
15
15
## Adding Fields
16
16
17
-
You can add a field to the document by using [`insertField`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor#insertfield) method in [`Editor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/) module.
17
+
You can add a field to the document by using [`insertField`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/#insertfield) method in [`Editor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/) module.
18
18
19
19
The following example code illustrates how to insert merge field programmatically by providing the field code and field result.
20
20
@@ -58,7 +58,7 @@ let fieldInfo: FieldInfo = this.documentEditor.selection.getFieldInfo();
58
58
59
59
## Set field info
60
60
61
-
You can modify the field code and field result of the current selected field by using [`setFieldInfo`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor#setfieldinfo) method in the [`Editor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/) module.
61
+
You can modify the field code and field result of the current selected field by using [`setFieldInfo`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/#setfieldinfo) method in the [`Editor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/) module.
62
62
63
63
```typescript
64
64
//Gets the field information for the selected field.
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/angular/find-and-replace.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,13 +36,13 @@ The [`Search`](https://ej2.syncfusion.com/angular/documentation/api/document-edi
36
36
37
37
|API Name|Type |Description|
38
38
|---|---|---|
39
-
|[`findAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search#findall/)| Method |Searches for specified text in the whole document and highlights it with yellow.|
40
-
|[`searchResults`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search#searchresults/)|Property |This is an instance of [`SearchResults`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/).|
41
-
|[`find()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search#find/)| Method |Find immediate occurrence of specified text from cursor position in the document and highlights it with yellow.|
39
+
|[`findAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search/#findall/)| Method |Searches for specified text in the whole document and highlights it with yellow.|
40
+
|[`searchResults`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search/#searchresults/)|Property |This is an instance of [`SearchResults`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/).|
41
+
|[`find()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search/#find/)| Method |Find immediate occurrence of specified text from cursor position in the document and highlights it with yellow.|
42
42
43
43
### Find the immediate occurrence in the document
44
44
45
-
Using [`find()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search#find/) method, you can find the immediate occurrence of specified text from current cursor position in the document.
45
+
Using [`find()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search/#find/) method, you can find the immediate occurrence of specified text from current cursor position in the document.
46
46
47
47
The following example code illustrates how to use find in Document editor.
Using [`findAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search#findall/) method, you can find all the occurrences of specified text in the whole document and highlight it with yellow.
57
+
Using [`findAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search/#findall/) method, you can find all the occurrences of specified text in the whole document and highlight it with yellow.
58
58
59
59
The following example code illustrates how to find All the text in the document.
60
60
@@ -70,14 +70,14 @@ The [`SearchResults`](https://ej2.syncfusion.com/angular/documentation/api/docum
70
70
71
71
|API Name|Type |Description|
72
72
|---|---|---|
73
-
|[`length`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults#length/)|Property|Returns the total number of results found on the search.|
74
-
|[`index`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults#index/)|Property|Returns the index of selected search result. You can change the value for this property to move the selection.|
75
-
|[`replaceAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchresults#replaceall/)|Method|Replaces all the occurrences with specified text.|
76
-
|[`clear()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults#clear/)|Method|Clears the search result.|
73
+
|[`length`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/#length/)|Property|Returns the total number of results found on the search.|
74
+
|[`index`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/#index/)|Property|Returns the index of selected search result. You can change the value for this property to move the selection.|
75
+
|[`replaceAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/#replaceall/)|Method|Replaces all the occurrences with specified text.|
76
+
|[`clear()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/#clear/)|Method|Clears the search result.|
77
77
78
78
### Replace all the occurrences
79
79
80
-
Using [`replaceAll`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults#replaceall/), you can replace all the occurrences with specified text.
80
+
Using [`replaceAll`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/#replaceall/), you can replace all the occurrences with specified text.
81
81
82
82
The following example code illustrates how to use replace All in Document editor.
All the available Essential<supstyle="font-size:70%">®</sup> JS 2 packages are published in [`npmjs.com`](https://www.npmjs.com/~syncfusionorg) registry.
89
+
All the available Essential<supstyle="font-size:70%">®</sup> JS 2 packages are published in [`npmJs.com`](https://www.npmjs.com/~syncfusionorg) registry.
90
90
91
91
To install Document Editor component, use the following command.
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/angular/how-to/add-save-button-in-toolbar.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ domainurl: ##DomainURL##
12
12
13
13
## To add a save button to the existing toolbar in DocumentEditorContainer
14
14
15
-
DocumentEditorContainer allows you to add a new button to the existing items in a toolbar using [`CustomToolbarItemModel`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/customToolbarItemModel/) and with existing items in [`toolbarItems`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container#toolbaritems) property. Newly added item click action can be defined in [`toolbarClick`](https://ej2.syncfusion.com/angular/documentation/api/toolbar/clickEventArgs/).
15
+
DocumentEditorContainer allows you to add a new button to the existing items in a toolbar using [`CustomToolbarItemModel`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/customToolbarItemModel/) and with existing items in [`toolbarItems`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#toolbaritems) property. Newly added item click action can be defined in [`toolbarClick`](https://ej2.syncfusion.com/angular/documentation/api/toolbar/clickEventArgs/).
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/angular/how-to/change-document-view.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ export class AppComponent {
58
58
59
59
## How to change the document view in DocumentEditorContainer component
60
60
61
-
DocumentEditorContainer 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/).
61
+
DocumentEditorContainer 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/).
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/angular/how-to/change-the-default-search-highlight-color.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ domainurl: ##DomainURL##
10
10
11
11
# Change Search Highlight Color in Angular Document Editor
12
12
13
-
Document editor provides an options to change the default search highlight color using [`searchHighlightColor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/documentEditorSettingsModel#searchhighlightcolor) in Document editor settings. The highlight color which is given in [`documentEditorSettings`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container#documenteditorsettings) will be highlighted on the searched text. By default, search highlight color is `yellow`.
13
+
Document editor provides an options to change the default search highlight color using [`searchHighlightColor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/documentEditorSettingsModel/#searchhighlightcolor) in Document editor settings. The highlight color which is given in [`documentEditorSettings`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#documenteditorsettings) will be highlighted on the searched text. By default, search highlight color is `yellow`.
14
14
15
15
Similarly, you can use [`documentEditorSettings`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#documenteditorsettings) property for DocumentEditor also.
0 commit comments