@seafile/comment-editor 1.0.23 → 1.0.25
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.
- package/dist/basic-sdk/extension/render/render-comment-editor-element.js +2 -3
- package/package.json +2 -2
- package/public/locales/cs/comment-editor.json +1 -2
- package/public/locales/de/comment-editor.json +1 -2
- package/public/locales/en/comment-editor.json +1 -2
- package/public/locales/es/comment-editor.json +1 -2
- package/public/locales/es_AR/comment-editor.json +1 -2
- package/public/locales/es_MX/comment-editor.json +1 -2
- package/public/locales/fr/comment-editor.json +1 -2
- package/public/locales/it/comment-editor.json +1 -2
- package/public/locales/ru/comment-editor.json +1 -2
- package/public/locales/zh/comment-editor.json +1 -2
- package/public/locales/zh-CN/comment-editor.json +1 -2
- package/public/locales/zh_CN/comment-editor.json +1 -2
|
@@ -12,8 +12,7 @@ const RenderCommentEditorCustomRenderElement = props => {
|
|
|
12
12
|
const editor = (0, _slateReact.useSlateStatic)();
|
|
13
13
|
const readonly = (0, _slateReact.useReadOnly)();
|
|
14
14
|
const {
|
|
15
|
-
element
|
|
16
|
-
commentType
|
|
15
|
+
element
|
|
17
16
|
} = props;
|
|
18
17
|
switch (element.type) {
|
|
19
18
|
case _constants.PARAGRAPH:
|
|
@@ -27,7 +26,7 @@ const RenderCommentEditorCustomRenderElement = props => {
|
|
|
27
26
|
const [renderParagraph] = _plugins.ParagraphPlugin.renderElements;
|
|
28
27
|
return renderParagraph(_props);
|
|
29
28
|
}
|
|
30
|
-
const placeholder =
|
|
29
|
+
const placeholder = 'shift_enter_for_new_line_Enter_to_send';
|
|
31
30
|
const [renderParagraph] = _plugins.ParagraphPlugin.renderElements;
|
|
32
31
|
return renderParagraph({
|
|
33
32
|
..._props,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seafile/comment-editor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "This is a comment editor",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"resolve": "^1.20.0",
|
|
132
132
|
"resolve-url-loader": "5.0.0",
|
|
133
133
|
"sass-loader": "^12.3.0",
|
|
134
|
-
"seafile-js": "0.2.
|
|
134
|
+
"seafile-js": "0.2.239",
|
|
135
135
|
"source-map-loader": "^3.0.0",
|
|
136
136
|
"style-loader": "^3.3.1",
|
|
137
137
|
"tailwindcss": "^3.0.2",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "Delete reply",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "Are you sure to delete this comment?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "Are you sure to delete this reply?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "Enter reply, Shift + Enter for new line, Enter to send",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Shift + Enter for new line, Enter to send",
|
|
278
277
|
"Reopen_discussion": "Adding a reply will reopen this discussion",
|
|
279
278
|
"Confirm": "Potvrdit",
|
|
280
279
|
"View_changes": "View changes",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "Antwort löschen",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "Möchten Sie das Kommentar wirklich löschen?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "Möchten Sie die Antwort wirklich löschen?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "Geben Sie eine Antwort ein (Zeilenumbruch mit SHIFT + ENTER, Kommentar absenden mit ENTER)",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Zeilenumbruch mit SHIFT + ENTER, Absenden mit ENTER",
|
|
278
277
|
"Reopen_discussion": "Das Hinzufügen einer Antwort wird die Diskussion wieder öffnen.",
|
|
279
278
|
"Confirm": "Bestätigen",
|
|
280
279
|
"View_changes": "Änderungen ansehen",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "Delete reply",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "Are you sure to delete this comment?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "Are you sure to delete this reply?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "Enter reply, Shift + Enter for new line, Enter to send",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Shift + Enter for new line, Enter to send",
|
|
278
277
|
"Reopen_discussion": "Adding a reply will reopen this discussion",
|
|
279
278
|
"Confirm": "Confirm",
|
|
280
279
|
"View_changes": "View changes",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "Delete reply",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "Are you sure to delete this comment?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "Are you sure to delete this reply?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "Enter reply, Shift + Enter for new line, Enter to send",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Shift + Enter for new line, Enter to send",
|
|
278
277
|
"Reopen_discussion": "Adding a reply will reopen this discussion",
|
|
279
278
|
"Confirm": "Confirmar",
|
|
280
279
|
"View_changes": "View changes",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "Delete reply",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "Are you sure to delete this comment?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "Are you sure to delete this reply?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "Enter reply, Shift + Enter for new line, Enter to send",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Shift + Enter for new line, Enter to send",
|
|
278
277
|
"Reopen_discussion": "Adding a reply will reopen this discussion",
|
|
279
278
|
"Confirm": "Confirmar",
|
|
280
279
|
"View_changes": "View changes",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "Delete reply",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "Are you sure to delete this comment?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "Are you sure to delete this reply?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "Enter reply, Shift + Enter for new line, Enter to send",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Shift + Enter for new line, Enter to send",
|
|
278
277
|
"Reopen_discussion": "Adding a reply will reopen this discussion",
|
|
279
278
|
"Confirm": "Confirmar",
|
|
280
279
|
"View_changes": "View changes",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "Supprimer la réponse",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "Êtes-vous sûr de vouloir supprimer ce commentaire ?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "Êtes-vous sûr de vouloir supprimer cette réponse ?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "Entrez une réponse (insérez un retour à la ligne avec MAJ + ENTREE ; envoyez le commentaire avec ENTREE)",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "MAJ + ENTRÉE pour un retour à la ligne, ENTRÉE pour envoyer",
|
|
278
277
|
"Reopen_discussion": "L'ajout d'une réponse rouvrira la discussion.",
|
|
279
278
|
"Confirm": "Confirmer",
|
|
280
279
|
"View_changes": "Afficher les modifications",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "Delete reply",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "Are you sure to delete this comment?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "Are you sure to delete this reply?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "Enter reply, Shift + Enter for new line, Enter to send",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Shift + Enter for new line, Enter to send",
|
|
278
277
|
"Reopen_discussion": "Adding a reply will reopen this discussion",
|
|
279
278
|
"Confirm": "Conferma",
|
|
280
279
|
"View_changes": "View changes",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "Удалить ответ",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "Вы уверены, что удалите этот комментарий?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "Вы уверены, что удалите этот ответ?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "Введите ответ, Shift + Enter для новой строки, Enter для отправки",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Shift + Enter для новой строки, Enter для отправки",
|
|
278
277
|
"Reopen_discussion": "Добавление ответа приведёт к возобновлению обсуждения.",
|
|
279
278
|
"Confirm": "Подтвердить",
|
|
280
279
|
"View_changes": "Просмотр изменений",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "删除回复",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "你确定要删除这个评论吗?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "你确定要删除这个回复吗?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "输入回复,Shift + Enter 换行,Enter 发送",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Shift + Enter 换行,Enter 发送",
|
|
278
277
|
"Reopen_discussion": "添加回复会重新提出该讨论",
|
|
279
278
|
"Confirm": "确认",
|
|
280
279
|
"View_changes": "查看改动",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "删除回复",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "你确定要删除这个评论吗?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "你确定要删除这个回复吗?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "输入回复,Shift + Enter 换行,Enter 发送",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Shift + Enter 换行,Enter 发送",
|
|
278
277
|
"Reopen_discussion": "添加回复会重新提出该讨论",
|
|
279
278
|
"Confirm": "确认",
|
|
280
279
|
"View_changes": "查看改动",
|
|
@@ -273,8 +273,7 @@
|
|
|
273
273
|
"Delete_reply": "删除回复",
|
|
274
274
|
"Are_you_sure_to_delete_this_comment": "你确定要删除这个评论吗?",
|
|
275
275
|
"Are_you_sure_to_delete_this_reply": "你确定要删除这个回复吗?",
|
|
276
|
-
"
|
|
277
|
-
"Enter_reply_shift_Enter_for_new_line_Enter_to_send": "输入回复,Shift + Enter 换行,Enter 发送",
|
|
276
|
+
"shift_enter_for_new_line_Enter_to_send": "Shift + Enter 换行,Enter 发送",
|
|
278
277
|
"Reopen_discussion": "添加回复会重新提出该讨论",
|
|
279
278
|
"Confirm": "确认",
|
|
280
279
|
"View_changes": "查看改动",
|