Skip to content

Commit ffba936

Browse files
899281: Added insert reply comment, get comment and delete comments api.
1 parent bb215a4 commit ffba936

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

ej2-asp-core-mvc/document-editor/comments.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,6 @@ Comments can be inserted into the selected text with a specified date, author, a
3535
let specificDate = new Date(2024, 6, 23, 14, 30, 0);
3636

3737

38-
// Define the properties of the comment including author, date, and resolution status.
39-
let commentProperties = {
40-
author: 'Nancy Davolio', // The author of the comment.
41-
dateTime: specificDate, // The date and time when the comment is created.
42-
isResolved: false // The status of the comment; false indicates it is unresolved.
43-
};
44-
45-
// Insert the comment with the specified properties into the document editor.
46-
documentEditor.editor.insertComment('Hello world', commentProperties);
47-
```
48-
## Add a New Comment with Date, Author, and Status
49-
50-
Comments can be inserted into the selected text with a specified date, author, and status.
51-
52-
```typescript
53-
// In this example, a comment with the text "Hello world"
54-
// is added by the author Nancy Davolio on July 23, 2024, at 2:30 PM.
55-
// The isResolved status is set to false.
56-
57-
// Create a specific date: July 23, 2024, at 2:30:00 PM.
58-
// Note: July is represented by 6 (0-based index).
59-
let specificDate = new Date(2024, 6, 23, 14, 30, 0);
60-
61-
6238
// Define the properties of the comment including author, date, and resolution status.
6339
let commentProperties = {
6440
author: 'Nancy Davolio', // The author of the comment.

0 commit comments

Comments
 (0)