diff --git a/frontend/package-lock.json b/frontend/package-lock.json index ce5dc22851..7f687987ba 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -2899,9 +2899,9 @@ } }, "@seafile/seafile-editor": { - "version": "0.3.46", - "resolved": "https://registry.npmjs.org/@seafile/seafile-editor/-/seafile-editor-0.3.46.tgz", - "integrity": "sha512-R/si1M6HldKzCYEeKVkkezum/NcA/5QUoy7wfaabPFSvELtpoiPQTPFLI3f/c1qOKkO0q5LA/fOdoeAe6s8rpg==", + "version": "0.3.47", + "resolved": "https://registry.npmjs.org/@seafile/seafile-editor/-/seafile-editor-0.3.47.tgz", + "integrity": "sha512-lbTnZ+64BwwKD9nlvpjoUx596Fd36rTTX29Q87ntQ6DY97WrMQxokbGn98OmFdJl9pAbXo8m/aMzfTQ0T149ew==", "requires": { "@babel/core": "^7.10.2", "@babel/runtime": "^7.10.2", @@ -5914,7 +5914,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", - "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.0" @@ -9731,7 +9730,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz", "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==", - "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -9742,7 +9740,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "requires": { "function-bind": "^1.1.1" } @@ -10073,8 +10070,7 @@ "has-symbols": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" }, "has-value": { "version": "1.0.0", @@ -11394,10 +11390,11 @@ "dev": true }, "is-nan": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/is-nan/-/is-nan-1.3.0.tgz", - "integrity": "sha512-z7bbREymOqt2CCaZVly8aC4ML3Xhfi0ekuOnjO2L8vKdl+CttdVoGZQhd4adMFAsxQ5VeRVwORs4tU8RH+HFtQ==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/is-nan/-/is-nan-1.3.2.tgz", + "integrity": "sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==", "requires": { + "call-bind": "^1.0.0", "define-properties": "^1.1.3" }, "dependencies": { diff --git a/frontend/package.json b/frontend/package.json index b87f9d96d7..e8fe1c136a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -7,7 +7,7 @@ "@seafile/react-image-lightbox": "0.0.1", "@seafile/resumablejs": "1.1.16", "@seafile/seafile-calendar": "0.0.12", - "@seafile/seafile-editor": "^0.3.46", + "@seafile/seafile-editor": "^0.3.47", "MD5": "^1.3.0", "chart.js": "2.9.4", "classnames": "^2.2.6", diff --git a/media/locales/en/seafile-editor.json b/media/locales/en/seafile-editor.json index 9a5826fc2e..e04a0603b8 100644 --- a/media/locales/en/seafile-editor.json +++ b/media/locales/en/seafile-editor.json @@ -192,6 +192,11 @@ "Insert_Table_Row": "Insert Table Row", "Escape_table": "Escape table" } + }, { + "shortcutType": "Formula shortcuts", + "shortcutData": { + "Insert_Formula": "Insert Formula" + } }, { "shortcutType":"Inline shortcuts", "shortcutData": { diff --git a/media/locales/zh-CN/seafile-editor.json b/media/locales/zh-CN/seafile-editor.json index 3d5295678a..f36c25402d 100644 --- a/media/locales/zh-CN/seafile-editor.json +++ b/media/locales/zh-CN/seafile-editor.json @@ -189,6 +189,11 @@ "Insert_Table_Row": "插入行", "Escape_table": "退出表格" } + }, { + "shortcutType": "公式快捷键", + "shortcutData": { + "Insert_Formula": "插入公式" + } }, { "shortcutType":"行级操作", "shortcutData": {