@seafile/seafile-editor 1.0.102 → 1.0.103

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.
@@ -188,6 +188,9 @@ const transformListItem = node => {
188
188
  } else if (child.type === 'thematicBreak') {
189
189
  // patch
190
190
  return transformParagraph(child);
191
+ } else {
192
+ console.warn('Unhandled child type in list item:', child);
193
+ return (0, _core.generateDefaultParagraph)();
191
194
  }
192
195
  }).flat()
193
196
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-editor",
3
- "version": "1.0.102",
3
+ "version": "1.0.103",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -223,5 +223,11 @@
223
223
  "Open_link": "Open link",
224
224
  "Image_is_uploading": "Image is uploading",
225
225
  "Image_loading_failed": "Image loading failed",
226
- "Expand_editor": "Expand editor"
226
+ "Expand_editor": "Expand editor",
227
+ "Insert_below": "Insert below",
228
+ "Insert_above": "Insert above",
229
+ "Insert_on_the_right": "Insert on the right",
230
+ "Insert_on_the_left": "Insert on the left",
231
+ "Row(s)": "row(s)",
232
+ "Column(s)": "column(s)"
227
233
  }
@@ -223,5 +223,11 @@
223
223
  "Open_link": "Open link",
224
224
  "Image_is_uploading": "Image is uploading",
225
225
  "Image_loading_failed": "Image loading failed",
226
- "Expand_editor": "Expand editor"
226
+ "Expand_editor": "Expand editor",
227
+ "Insert_below": "Insert below",
228
+ "Insert_above": "Insert above",
229
+ "Insert_on_the_right": "Insert on the right",
230
+ "Insert_on_the_left": "Insert on the left",
231
+ "Row(s)": "row(s)",
232
+ "Column(s)": "column(s)"
227
233
  }
@@ -227,5 +227,7 @@
227
227
  "Insert_below": "Insert below",
228
228
  "Insert_above": "Insert above",
229
229
  "Insert_on_the_right": "Insert on the right",
230
- "Insert_on_the_left": "Insert on the left"
230
+ "Insert_on_the_left": "Insert on the left",
231
+ "Row(s)": "row(s)",
232
+ "Column(s)": "column(s)"
231
233
  }
@@ -223,5 +223,11 @@
223
223
  "Open_link": "Open link",
224
224
  "Image_is_uploading": "Image is uploading",
225
225
  "Image_loading_failed": "Image loading failed",
226
- "Expand_editor": "Expand editor"
226
+ "Expand_editor": "Expand editor",
227
+ "Insert_below": "Insert below",
228
+ "Insert_above": "Insert above",
229
+ "Insert_on_the_right": "Insert on the right",
230
+ "Insert_on_the_left": "Insert on the left",
231
+ "Row(s)": "row(s)",
232
+ "Column(s)": "column(s)"
227
233
  }
@@ -223,5 +223,11 @@
223
223
  "Open_link": "Ouvrir le lien",
224
224
  "Image_is_uploading": "Image is uploading",
225
225
  "Image_loading_failed": "Image loading failed",
226
- "Expand_editor": "Expand editor"
226
+ "Expand_editor": "Expand editor",
227
+ "Insert_below": "Insérer en-dessous",
228
+ "Insert_above": "Insérer au-dessus",
229
+ "Insert_on_the_right": "Insérer à droite",
230
+ "Insert_on_the_left": "Insérer à gauche",
231
+ "Row(s)": "ligne(s)",
232
+ "Column(s)": "colonne(s)"
227
233
  }
@@ -223,5 +223,11 @@
223
223
  "Open_link": "Open link",
224
224
  "Image_is_uploading": "Image is uploading",
225
225
  "Image_loading_failed": "Image loading failed",
226
- "Expand_editor": "Expand editor"
226
+ "Expand_editor": "Expand editor",
227
+ "Insert_below": "Insert below",
228
+ "Insert_above": "Insert above",
229
+ "Insert_on_the_right": "Insert on the right",
230
+ "Insert_on_the_left": "Insert on the left",
231
+ "Row(s)": "row(s)",
232
+ "Column(s)": "column(s)"
227
233
  }
@@ -223,5 +223,11 @@
223
223
  "Open_link": "Открыть ссылку",
224
224
  "Image_is_uploading": "Изображение загружается",
225
225
  "Image_loading_failed": "Ошибка загрузки изображения",
226
- "Expand_editor": "Expand editor"
226
+ "Expand_editor": "Развернуть редактор",
227
+ "Insert_below": "Вставить ниже",
228
+ "Insert_above": "Вставить выше",
229
+ "Insert_on_the_right": "Вставить справа",
230
+ "Insert_on_the_left": "Вставить слева",
231
+ "Row(s)": "строк",
232
+ "Column(s)": "столбцов"
227
233
  }
@@ -223,5 +223,11 @@
223
223
  "Open_link": "打开链接",
224
224
  "Image_is_uploading": "图片正在上传",
225
225
  "Image_loading_failed": "图片加载失败",
226
- "Expand_editor": "展开编辑器"
226
+ "Expand_editor": "展开编辑器",
227
+ "Insert_below": "在下方插入",
228
+ "Insert_above": "在上方插入",
229
+ "Insert_on_the_right": "在右侧插入",
230
+ "Insert_on_the_left": "在左侧插入",
231
+ "Row(s)": "行",
232
+ "Column(s)": "列"
227
233
  }