mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-08-29 10:09:26 +02:00
docs(help): rebuild the help site with VitePress (#10169)
* docs: new help built with vitepress. * docs: improve docs home ui Added a Go to Docs button on homepage Added a searchbar for directly searching what you are looking for in the docs * docs(help): wire up with build system & setup proper ci * Clean up new documentation (#10174) * Docs: Cleanup pass 1 Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net> * docs: cleanup pass 2 Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net> * docs: Fix vscode's manglement that I missed. Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net> * Update docs/help/contents/plans-and-limits.md Co-authored-by: Abdullah Atta <thecodrr@protonmail.com> Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net> * Update docs/help/contents/rich-text-editor/outline-lists.md Co-authored-by: Abdullah Atta <thecodrr@protonmail.com> Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net> * docs: Remove self-hosting guide from sidebar, and comments for reviewer. Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net> --------- Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net> Co-authored-by: Abdullah Atta <thecodrr@protonmail.com> * docs: some fixes * ci: do not publish help on push * docs(help): improve regional pricing & free trials * docs: improve sidebar * docs: some more fixes after re-review * docs: improve search and nav * docs: a few more fixes * docs: fix tabs formatting compat with prettier * docs: fix tabs formatting in various places * docs: show correct plus button image for mobile * docs: disable notesnook self hosting docs * docs: update help docs with fixes --------- Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net> Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co> Co-authored-by: Chloe Oletto <NeedsChloesure@riseup.net> Co-authored-by: Abdullah Atta <thecodrr@protonmail.com>
This commit is contained in:
89
packages/common/package-lock.json
generated
89
packages/common/package-lock.json
generated
@@ -9,6 +9,7 @@
|
||||
"version": "2.1.3",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@notesnook/common": "^2.1.3",
|
||||
"@notesnook/core": "file:../core",
|
||||
"@readme/data-urls": "^3.0.0",
|
||||
"dayjs": "1.11.13",
|
||||
@@ -29,7 +30,6 @@
|
||||
"../core": {
|
||||
"name": "@notesnook/core",
|
||||
"version": "8.1.3",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
@@ -237,12 +237,10 @@
|
||||
},
|
||||
"../core/node_modules/@leeoniya/ufuzzy": {
|
||||
"version": "1.0.14",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/@microsoft/signalr": {
|
||||
"version": "8.0.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"abort-controller": "^3.0.0",
|
||||
@@ -254,7 +252,6 @@
|
||||
},
|
||||
"../core/node_modules/@microsoft/signalr/node_modules/ws": {
|
||||
"version": "7.5.9",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8.3.0"
|
||||
@@ -333,7 +330,6 @@
|
||||
},
|
||||
"../core/node_modules/@readme/data-urls": {
|
||||
"version": "3.0.0",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
@@ -353,7 +349,6 @@
|
||||
},
|
||||
"../core/node_modules/@selderee/plugin-htmlparser2": {
|
||||
"version": "0.11.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"domhandler": "^5.0.3",
|
||||
@@ -365,7 +360,6 @@
|
||||
},
|
||||
"../core/node_modules/@streetwriters/kysely": {
|
||||
"version": "0.27.4",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
@@ -373,7 +367,6 @@
|
||||
},
|
||||
"../core/node_modules/@streetwriters/showdown": {
|
||||
"version": "3.0.9-alpha",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"showdown": "bin/showdown.js"
|
||||
@@ -426,7 +419,6 @@
|
||||
},
|
||||
"../core/node_modules/@types/mime-db": {
|
||||
"version": "1.43.5",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/@types/node": {
|
||||
@@ -595,7 +587,6 @@
|
||||
},
|
||||
"../core/node_modules/abort-controller": {
|
||||
"version": "3.0.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"event-target-shim": "^5.0.0"
|
||||
@@ -641,7 +632,6 @@
|
||||
},
|
||||
"../core/node_modules/async-mutex": {
|
||||
"version": "0.5.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"tslib": "^2.4.0"
|
||||
@@ -701,7 +691,6 @@
|
||||
},
|
||||
"../core/node_modules/boolbase": {
|
||||
"version": "1.0.0",
|
||||
"dev": true,
|
||||
"license": "ISC"
|
||||
},
|
||||
"../core/node_modules/brace-expansion": {
|
||||
@@ -851,7 +840,6 @@
|
||||
},
|
||||
"../core/node_modules/css-select": {
|
||||
"version": "5.1.0",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
"boolbase": "^1.0.0",
|
||||
@@ -866,7 +854,6 @@
|
||||
},
|
||||
"../core/node_modules/css-what": {
|
||||
"version": "6.1.0",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"engines": {
|
||||
"node": ">= 6"
|
||||
@@ -877,12 +864,10 @@
|
||||
},
|
||||
"../core/node_modules/cssom": {
|
||||
"version": "0.5.0",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/dayjs": {
|
||||
"version": "1.11.13",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/debug": {
|
||||
@@ -945,7 +930,6 @@
|
||||
},
|
||||
"../core/node_modules/deepmerge": {
|
||||
"version": "4.3.1",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
@@ -961,12 +945,10 @@
|
||||
},
|
||||
"../core/node_modules/discontinuous-range": {
|
||||
"version": "1.0.0",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/dom-serializer": {
|
||||
"version": "2.0.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"domelementtype": "^2.3.0",
|
||||
@@ -979,7 +961,6 @@
|
||||
},
|
||||
"../core/node_modules/dom-serializer/node_modules/entities": {
|
||||
"version": "4.5.0",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"engines": {
|
||||
"node": ">=0.12"
|
||||
@@ -990,7 +971,6 @@
|
||||
},
|
||||
"../core/node_modules/domelementtype": {
|
||||
"version": "2.3.0",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
@@ -1001,7 +981,6 @@
|
||||
},
|
||||
"../core/node_modules/domhandler": {
|
||||
"version": "5.0.3",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
"domelementtype": "^2.3.0"
|
||||
@@ -1015,7 +994,6 @@
|
||||
},
|
||||
"../core/node_modules/domutils": {
|
||||
"version": "3.1.0",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
"dom-serializer": "^2.0.0",
|
||||
@@ -1057,7 +1035,6 @@
|
||||
},
|
||||
"../core/node_modules/entities": {
|
||||
"version": "5.0.0",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"engines": {
|
||||
"node": ">=0.12"
|
||||
@@ -1123,7 +1100,6 @@
|
||||
},
|
||||
"../core/node_modules/event-target-shim": {
|
||||
"version": "5.0.1",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
@@ -1131,7 +1107,6 @@
|
||||
},
|
||||
"../core/node_modules/eventsource": {
|
||||
"version": "2.0.2",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
@@ -1155,7 +1130,6 @@
|
||||
},
|
||||
"../core/node_modules/fetch-cookie": {
|
||||
"version": "2.1.0",
|
||||
"dev": true,
|
||||
"license": "Unlicense",
|
||||
"dependencies": {
|
||||
"set-cookie-parser": "^2.4.8",
|
||||
@@ -1201,7 +1175,6 @@
|
||||
},
|
||||
"../core/node_modules/fuzzyjs": {
|
||||
"version": "5.0.1",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8.0.0"
|
||||
@@ -1279,7 +1252,6 @@
|
||||
},
|
||||
"../core/node_modules/html-to-text": {
|
||||
"version": "9.0.5",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@selderee/plugin-htmlparser2": "^0.11.0",
|
||||
@@ -1294,7 +1266,6 @@
|
||||
},
|
||||
"../core/node_modules/htmlparser2": {
|
||||
"version": "8.0.1",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
"https://github.com/fb55/htmlparser2?sponsor=1",
|
||||
{
|
||||
@@ -1312,7 +1283,6 @@
|
||||
},
|
||||
"../core/node_modules/htmlparser2/node_modules/entities": {
|
||||
"version": "4.5.0",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"engines": {
|
||||
"node": ">=0.12"
|
||||
@@ -1474,7 +1444,6 @@
|
||||
},
|
||||
"../core/node_modules/katex": {
|
||||
"version": "0.16.11",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
"https://opencollective.com/katex",
|
||||
"https://github.com/sponsors/katex"
|
||||
@@ -1489,7 +1458,6 @@
|
||||
},
|
||||
"../core/node_modules/katex/node_modules/commander": {
|
||||
"version": "8.3.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 12"
|
||||
@@ -1497,7 +1465,6 @@
|
||||
},
|
||||
"../core/node_modules/leac": {
|
||||
"version": "0.6.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://ko-fi.com/killymxi"
|
||||
@@ -1505,7 +1472,6 @@
|
||||
},
|
||||
"../core/node_modules/linkedom": {
|
||||
"version": "0.14.20",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"css-select": "^5.1.0",
|
||||
@@ -1517,12 +1483,10 @@
|
||||
},
|
||||
"../core/node_modules/linkedom/node_modules/html-escaper": {
|
||||
"version": "3.0.3",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/liqe": {
|
||||
"version": "1.13.0",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"nearley": "^2.20.1",
|
||||
@@ -1582,7 +1546,6 @@
|
||||
},
|
||||
"../core/node_modules/mime-db": {
|
||||
"version": "1.53.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
@@ -1641,7 +1604,6 @@
|
||||
},
|
||||
"../core/node_modules/moo": {
|
||||
"version": "0.5.2",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause"
|
||||
},
|
||||
"../core/node_modules/ms": {
|
||||
@@ -1673,7 +1635,6 @@
|
||||
},
|
||||
"../core/node_modules/nearley": {
|
||||
"version": "2.20.1",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"commander": "^2.19.0",
|
||||
@@ -1694,7 +1655,6 @@
|
||||
},
|
||||
"../core/node_modules/nearley/node_modules/commander": {
|
||||
"version": "2.20.3",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/node-abi": {
|
||||
@@ -1710,7 +1670,6 @@
|
||||
},
|
||||
"../core/node_modules/node-fetch": {
|
||||
"version": "2.6.7",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"whatwg-url": "^5.0.0"
|
||||
@@ -1729,17 +1688,14 @@
|
||||
},
|
||||
"../core/node_modules/node-fetch/node_modules/tr46": {
|
||||
"version": "0.0.3",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/node-fetch/node_modules/webidl-conversions": {
|
||||
"version": "3.0.1",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause"
|
||||
},
|
||||
"../core/node_modules/node-fetch/node_modules/whatwg-url": {
|
||||
"version": "5.0.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"tr46": "~0.0.3",
|
||||
@@ -1748,7 +1704,6 @@
|
||||
},
|
||||
"../core/node_modules/nth-check": {
|
||||
"version": "2.1.1",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
"boolbase": "^1.0.0"
|
||||
@@ -1806,7 +1761,6 @@
|
||||
},
|
||||
"../core/node_modules/parseley": {
|
||||
"version": "0.12.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"leac": "^0.6.0",
|
||||
@@ -1859,7 +1813,6 @@
|
||||
},
|
||||
"../core/node_modules/peberminta": {
|
||||
"version": "0.9.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://ko-fi.com/killymxi"
|
||||
@@ -1941,7 +1894,6 @@
|
||||
},
|
||||
"../core/node_modules/prismjs": {
|
||||
"version": "1.29.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
@@ -1958,7 +1910,6 @@
|
||||
},
|
||||
"../core/node_modules/psl": {
|
||||
"version": "1.9.0",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/pump": {
|
||||
@@ -1972,7 +1923,6 @@
|
||||
},
|
||||
"../core/node_modules/punycode": {
|
||||
"version": "2.3.1",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
@@ -1980,22 +1930,18 @@
|
||||
},
|
||||
"../core/node_modules/qclone": {
|
||||
"version": "1.2.0",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/querystringify": {
|
||||
"version": "2.2.0",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/railroad-diagrams": {
|
||||
"version": "1.0.0",
|
||||
"dev": true,
|
||||
"license": "CC0-1.0"
|
||||
},
|
||||
"../core/node_modules/randexp": {
|
||||
"version": "0.4.6",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"discontinuous-range": "1.0.0",
|
||||
@@ -2049,12 +1995,10 @@
|
||||
},
|
||||
"../core/node_modules/requires-port": {
|
||||
"version": "1.0.0",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/ret": {
|
||||
"version": "0.1.15",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=0.12"
|
||||
@@ -2062,7 +2006,6 @@
|
||||
},
|
||||
"../core/node_modules/rfdc": {
|
||||
"version": "1.3.1",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/rollup": {
|
||||
@@ -2123,7 +2066,6 @@
|
||||
},
|
||||
"../core/node_modules/selderee": {
|
||||
"version": "0.11.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"parseley": "^0.12.0"
|
||||
@@ -2148,7 +2090,6 @@
|
||||
},
|
||||
"../core/node_modules/set-cookie-parser": {
|
||||
"version": "2.6.0",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/shebang-command": {
|
||||
@@ -2248,7 +2189,6 @@
|
||||
},
|
||||
"../core/node_modules/spark-md5": {
|
||||
"version": "3.0.2",
|
||||
"dev": true,
|
||||
"license": "(WTFPL OR MIT)"
|
||||
},
|
||||
"../core/node_modules/sqlite-better-trigram": {
|
||||
@@ -2483,7 +2423,6 @@
|
||||
},
|
||||
"../core/node_modules/tough-cookie": {
|
||||
"version": "4.1.3",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"psl": "^1.1.33",
|
||||
@@ -2497,12 +2436,10 @@
|
||||
},
|
||||
"../core/node_modules/ts-error": {
|
||||
"version": "1.0.6",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"../core/node_modules/tslib": {
|
||||
"version": "2.4.1",
|
||||
"dev": true,
|
||||
"license": "0BSD"
|
||||
},
|
||||
"../core/node_modules/tunnel-agent": {
|
||||
@@ -2518,12 +2455,10 @@
|
||||
},
|
||||
"../core/node_modules/uhyphen": {
|
||||
"version": "0.1.0",
|
||||
"dev": true,
|
||||
"license": "ISC"
|
||||
},
|
||||
"../core/node_modules/universalify": {
|
||||
"version": "0.2.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 4.0.0"
|
||||
@@ -2531,7 +2466,6 @@
|
||||
},
|
||||
"../core/node_modules/url-parse": {
|
||||
"version": "1.5.10",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"querystringify": "^2.1.1",
|
||||
@@ -2865,7 +2799,6 @@
|
||||
"../logger": {
|
||||
"name": "@notesnook/logger",
|
||||
"version": "2.1.3",
|
||||
"dev": true,
|
||||
"license": "GPL-3.0-or-later",
|
||||
"devDependencies": {}
|
||||
},
|
||||
@@ -4097,6 +4030,23 @@
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@notesnook/common": {
|
||||
"version": "2.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@notesnook/common/-/common-2.1.3.tgz",
|
||||
"integrity": "sha512-5t1LYIzXMmlOgS/5LeSFngR77NPMQA0TnM6kCe0S1rzDbB1b31jqh2XGiNn1qD7ebbewTPanC4g7klYC8UhoPQ==",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@notesnook/core": "^8.1.3",
|
||||
"@readme/data-urls": "^3.0.0",
|
||||
"dayjs": "^1.11.13",
|
||||
"pathe": "^1.1.2",
|
||||
"timeago.js": "4.0.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18",
|
||||
"timeago.js": "4.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@notesnook/core": {
|
||||
"resolved": "../core",
|
||||
"link": true
|
||||
@@ -4382,12 +4332,10 @@
|
||||
},
|
||||
"node_modules/js-tokens": {
|
||||
"version": "4.0.0",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/loose-envify": {
|
||||
"version": "1.4.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"js-tokens": "^3.0.0 || ^4.0.0"
|
||||
@@ -4477,7 +4425,6 @@
|
||||
},
|
||||
"node_modules/react": {
|
||||
"version": "18.3.1",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"loose-envify": "^1.1.0"
|
||||
|
||||
@@ -41,10 +41,11 @@
|
||||
"timeago.js": "4.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@notesnook/common": "^2.1.3",
|
||||
"@notesnook/core": "file:../core",
|
||||
"@readme/data-urls": "^3.0.0",
|
||||
"dayjs": "1.11.13",
|
||||
"pathe": "^1.1.2",
|
||||
"timeago.js": "4.0.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ export const tiptapKeys = {
|
||||
type: "tiptap"
|
||||
},
|
||||
sinkListItem: {
|
||||
keys: "Mod-Shift-Down",
|
||||
keys: "Tab",
|
||||
description: "Sink list item",
|
||||
category: "Editor",
|
||||
type: "tiptap"
|
||||
@@ -210,13 +210,13 @@ export const tiptapKeys = {
|
||||
type: "tiptap"
|
||||
},
|
||||
increaseFontSize: {
|
||||
keys: "Ctrl-[",
|
||||
keys: "Mod-[",
|
||||
description: "Increase font size",
|
||||
category: "Editor",
|
||||
type: "tiptap"
|
||||
},
|
||||
decreaseFontSize: {
|
||||
keys: "Ctrl-]",
|
||||
keys: "Mod-]",
|
||||
description: "Decrease font size",
|
||||
category: "Editor",
|
||||
type: "tiptap"
|
||||
|
||||
@@ -87,7 +87,7 @@ export const FontSize = Extension.create<FontSizeOptions>({
|
||||
},
|
||||
addKeyboardShortcuts() {
|
||||
return {
|
||||
[tiptapKeys.decreaseFontSize.keys]: ({ editor }) => {
|
||||
[tiptapKeys.increaseFontSize.keys]: ({ editor }) => {
|
||||
editor
|
||||
.chain()
|
||||
.focus()
|
||||
@@ -95,7 +95,7 @@ export const FontSize = Extension.create<FontSizeOptions>({
|
||||
.run();
|
||||
return true;
|
||||
},
|
||||
[tiptapKeys.increaseFontSize.keys]: ({ editor }) => {
|
||||
[tiptapKeys.decreaseFontSize.keys]: ({ editor }) => {
|
||||
editor
|
||||
.chain()
|
||||
.focus()
|
||||
|
||||
@@ -127,7 +127,7 @@ const tools = (): Record<ToolId, ToolDefinition> => ({
|
||||
},
|
||||
alignment: {
|
||||
icon: "alignCenter",
|
||||
title: strings.alignCenter()
|
||||
title: strings.alignment()
|
||||
},
|
||||
textDirection: {
|
||||
icon: "ltr",
|
||||
|
||||
@@ -800,6 +800,10 @@ msgstr "Advanced"
|
||||
msgid "After scanning the QR code image, the app will display a code that you can enter below."
|
||||
msgstr "After scanning the QR code image, the app will display a code that you can enter below."
|
||||
|
||||
#: src/strings.ts:2292
|
||||
msgid "Align center"
|
||||
msgstr "Align center"
|
||||
|
||||
#: src/strings.ts:2322
|
||||
msgid "Align left"
|
||||
msgstr "Align left"
|
||||
@@ -808,7 +812,7 @@ msgstr "Align left"
|
||||
msgid "Align right"
|
||||
msgstr "Align right"
|
||||
|
||||
#: src/strings.ts:2292
|
||||
#: src/strings.ts:2813
|
||||
msgid "Alignment"
|
||||
msgstr "Alignment"
|
||||
|
||||
@@ -1419,7 +1423,6 @@ msgid "Cell border color"
|
||||
msgstr "Cell border color"
|
||||
|
||||
#: src/strings.ts:2318
|
||||
#: src/strings.ts:2319
|
||||
msgid "Cell border width"
|
||||
msgstr "Cell border width"
|
||||
|
||||
@@ -4553,6 +4556,7 @@ msgid "No updates available"
|
||||
msgstr "No updates available"
|
||||
|
||||
#: src/strings.ts:661
|
||||
#: src/strings.ts:2319
|
||||
msgid "None"
|
||||
msgstr "None"
|
||||
|
||||
|
||||
@@ -800,6 +800,10 @@ msgstr ""
|
||||
msgid "After scanning the QR code image, the app will display a code that you can enter below."
|
||||
msgstr ""
|
||||
|
||||
#: src/strings.ts:2292
|
||||
msgid "Align center"
|
||||
msgstr ""
|
||||
|
||||
#: src/strings.ts:2322
|
||||
msgid "Align left"
|
||||
msgstr ""
|
||||
@@ -808,7 +812,7 @@ msgstr ""
|
||||
msgid "Align right"
|
||||
msgstr ""
|
||||
|
||||
#: src/strings.ts:2292
|
||||
#: src/strings.ts:2813
|
||||
msgid "Alignment"
|
||||
msgstr ""
|
||||
|
||||
@@ -1419,7 +1423,6 @@ msgid "Cell border color"
|
||||
msgstr ""
|
||||
|
||||
#: src/strings.ts:2318
|
||||
#: src/strings.ts:2319
|
||||
msgid "Cell border width"
|
||||
msgstr ""
|
||||
|
||||
@@ -4533,6 +4536,7 @@ msgid "No updates available"
|
||||
msgstr ""
|
||||
|
||||
#: src/strings.ts:661
|
||||
#: src/strings.ts:2319
|
||||
msgid "None"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -2289,7 +2289,7 @@ Use this if changes from other devices are not appearing on this device. This wi
|
||||
fontFamily: () => t`Font family`,
|
||||
fontSize: () => t`Font size`,
|
||||
headings: () => t`Headings`,
|
||||
alignCenter: () => t`Alignment`,
|
||||
alignCenter: () => t`Align center`,
|
||||
ltr: () => t`Text direction`,
|
||||
highlight: () => t`Highlight`,
|
||||
textColor: () => t`Text color`,
|
||||
@@ -2316,7 +2316,7 @@ Use this if changes from other devices are not appearing on this device. This wi
|
||||
cellBorderColor: () => t`Cell border color`,
|
||||
cellTextColor: () => t`Cell text color`,
|
||||
cellBorderWidth: () => t`Cell border width`,
|
||||
none: () => t`Cell border width`,
|
||||
none: () => t`None`,
|
||||
imageSettings: () => t`Image settings`,
|
||||
// alignCenter: () => t`Align center`,
|
||||
alignLeft: () => t`Align left`,
|
||||
@@ -2809,5 +2809,6 @@ Continue without attachments?`,
|
||||
versionDeleted: () => actions.deleted.version(1),
|
||||
offlineMode: () => t`Offline mode`,
|
||||
offlineModeDesc: () =>
|
||||
t`Using Notesnook without an account will NOT sync your notes across devices and could result in data loss if you lose access to your device or uninstall the app. Make sure to backup your notes regularly.`
|
||||
t`Using Notesnook without an account will **NOT** sync your notes across devices and could result in data loss if you lose access to your device or uninstall the app. Make sure to backup your notes regularly.`,
|
||||
alignment: () => t`Alignment`
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user