@seafile/sdoc-editor 0.1.65 → 0.1.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -92,7 +92,7 @@ var CommentItem = function CommentItem(_ref) {
|
|
|
92
92
|
onClick: onDeleteToggle
|
|
93
93
|
}, t('Delete')))))), !isActive && /*#__PURE__*/React.createElement("span", {
|
|
94
94
|
className: "comment-time"
|
|
95
|
-
}, dayjs(comment.updated_at).format('MM
|
|
95
|
+
}, dayjs(comment.updated_at).format('MM-DD HH:mm'))), /*#__PURE__*/React.createElement("div", {
|
|
96
96
|
className: "comment-content"
|
|
97
97
|
}, isEditing && /*#__PURE__*/React.createElement(CommentEditor, {
|
|
98
98
|
comment: comment,
|
|
@@ -21,6 +21,6 @@ var DeleteCommentDialog = function DeleteCommentDialog(_ref) {
|
|
|
21
21
|
}, t('Cancel')), /*#__PURE__*/React.createElement(Button, {
|
|
22
22
|
color: "primary",
|
|
23
23
|
onClick: deleteComment
|
|
24
|
-
}, t('
|
|
24
|
+
}, t('Confirm'))));
|
|
25
25
|
};
|
|
26
26
|
export default withTranslation('sdoc-editor')(DeleteCommentDialog);
|
|
@@ -132,6 +132,10 @@
|
|
|
132
132
|
padding: 8px;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
+
.sdoc-comment-container .comment-list-container .comment-editor:focus-visible {
|
|
136
|
+
outline: none;
|
|
137
|
+
}
|
|
138
|
+
|
|
135
139
|
.sdoc-comment-container .comment-list-container .comment-editor:focus {
|
|
136
140
|
border: 1px solid rgba(0, 0, 0, .12);
|
|
137
141
|
}
|
package/package.json
CHANGED
|
@@ -250,5 +250,6 @@
|
|
|
250
250
|
"Auto_wrap": "Auto wrap",
|
|
251
251
|
"Add_comment": "Add comment",
|
|
252
252
|
"Delete_comment": "Delete comment",
|
|
253
|
-
"Are_you_sure_to_delete_this_comment": "Are you sure to delete this comment?"
|
|
253
|
+
"Are_you_sure_to_delete_this_comment": "Are you sure to delete this comment?",
|
|
254
|
+
"Confirm": "Confirm"
|
|
254
255
|
}
|