Compare commits
291 Commits
android-v1
...
lerna_migr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10f934cc69 | ||
|
|
122f20905c | ||
|
|
5ff8beb82f | ||
|
|
e5f1436f7e | ||
|
|
ff6cd57873 | ||
|
|
03258b9553 | ||
|
|
c00e60debf | ||
|
|
c2929b9368 | ||
|
|
b366b46958 | ||
|
|
3f19365b8c | ||
|
|
06010d860d | ||
|
|
c2b3a231cb | ||
|
|
e06e624da0 | ||
|
|
13d326f535 | ||
|
|
0fb535377b | ||
|
|
6a10d35d7e | ||
|
|
895eee5fde | ||
|
|
30669b3064 | ||
|
|
13eb91410c | ||
|
|
b270d1010b | ||
|
|
ceb7afbbdc | ||
|
|
43cb5ba69b | ||
|
|
9a5184357e | ||
|
|
13b086353c | ||
|
|
61e172aad2 | ||
|
|
132323de9c | ||
|
|
0686228351 | ||
|
|
b41b0f0a53 | ||
|
|
4c948408c4 | ||
|
|
cc3a1d78da | ||
|
|
0cc544a95f | ||
|
|
03b7402dc5 | ||
|
|
dd5c400c24 | ||
|
|
abc702c21f | ||
|
|
cc3e1bdee8 | ||
|
|
10cfa773ca | ||
|
|
8dc42b1f41 | ||
|
|
3cb266ef1a | ||
|
|
3d8fc36afe | ||
|
|
6e7ea9a549 | ||
|
|
ed2ccdd504 | ||
|
|
f50b54fd14 | ||
|
|
f3376c779e | ||
|
|
76739eeff0 | ||
|
|
6d2bad01e6 | ||
|
|
3847831d80 | ||
|
|
44462f4d71 | ||
|
|
4d20589773 | ||
|
|
52140ec1a9 | ||
|
|
08c2a7ad64 | ||
|
|
d19796f14c | ||
|
|
e4f53a48d2 | ||
|
|
154163bd6c | ||
|
|
4502414934 | ||
|
|
38e4bc61d9 | ||
|
|
86c471afcd | ||
|
|
e2698aaead | ||
|
|
8cfe4b0f82 | ||
|
|
fd90a490c0 | ||
|
|
16c5ffadc7 | ||
|
|
4a184721e4 | ||
|
|
1e3bd937ed | ||
|
|
0f6932f1e8 | ||
|
|
cab98776db | ||
|
|
fbc1e3ed3b | ||
|
|
805d16abda | ||
|
|
f133229287 | ||
|
|
8f4031572a | ||
|
|
d25fa796c0 | ||
|
|
089d6a5c9e | ||
|
|
3f83355d9f | ||
|
|
40380e3066 | ||
|
|
a6748bafb3 | ||
|
|
b52f6eb77c | ||
|
|
98c933fdb7 | ||
|
|
ece7ffadd6 | ||
|
|
591bceb8ef | ||
|
|
04cfd07176 | ||
|
|
db2282a351 | ||
|
|
0ec3d6ca9d | ||
|
|
442b7ce0d3 | ||
|
|
6a068a90b2 | ||
|
|
9a6f6c8b39 | ||
|
|
52d5c32950 | ||
|
|
de47cff86d | ||
|
|
a459174f98 | ||
|
|
75d5aa3a77 | ||
|
|
c254ca524f | ||
|
|
51934b8d8d | ||
|
|
a5dd686bb2 | ||
|
|
4cbfd04522 | ||
|
|
6d5d9323bd | ||
|
|
76063a6284 | ||
|
|
4119924e57 | ||
|
|
537336754c | ||
|
|
06f73919bd | ||
|
|
3f3e46081c | ||
|
|
68e4b4eaad | ||
|
|
9dcb4b51e5 | ||
|
|
8543849ea1 | ||
|
|
6ce5240e12 | ||
|
|
5bc25aefce | ||
|
|
b737ca7471 | ||
|
|
a5d7366f94 | ||
|
|
98f822d89c | ||
|
|
c33a8250ee | ||
|
|
adad406696 | ||
|
|
d82eec0fa4 | ||
|
|
c93f474547 | ||
|
|
0afd4a6234 | ||
|
|
f42786a840 | ||
|
|
1c1f044966 | ||
|
|
ad7a80e260 | ||
|
|
5e040c062c | ||
|
|
0cede5f90a | ||
|
|
8dc0deb2a4 | ||
|
|
1ca44b8f44 | ||
|
|
4ba9e60194 | ||
|
|
9d0bb4257f | ||
|
|
1a273b9bca | ||
|
|
d9e93cd6c4 | ||
|
|
5d39860707 | ||
|
|
60a6f714bc | ||
|
|
6eebeca259 | ||
|
|
995034c53f | ||
|
|
45a0981d05 | ||
|
|
3d8577a689 | ||
|
|
5292fc1402 | ||
|
|
03063f1137 | ||
|
|
b125a768b8 | ||
|
|
a721f170e4 | ||
|
|
76cd69ea16 | ||
|
|
45d4f277e2 | ||
|
|
fc2a52aa1a | ||
|
|
b3e5a1e48d | ||
|
|
45eb902030 | ||
|
|
456f7ac00c | ||
|
|
a93bda71fe | ||
|
|
0f9d92dd3d | ||
|
|
5543e9ef64 | ||
|
|
22dd613660 | ||
|
|
f7502fe34b | ||
|
|
8254206f44 | ||
|
|
3a57cfea02 | ||
|
|
71bf0437c1 | ||
|
|
eca4e24362 | ||
|
|
9a6efb7b37 | ||
|
|
4b666cbbd2 | ||
|
|
f8f46db910 | ||
|
|
f529adac99 | ||
|
|
3a52b9764b | ||
|
|
7e78d7716b | ||
|
|
0488c5c4cb | ||
|
|
921cc3b6c6 | ||
|
|
2a7aa28d4c | ||
|
|
7b3440ac4c | ||
|
|
958e5a80b7 | ||
|
|
3179117c62 | ||
|
|
d895463167 | ||
|
|
7e0e513051 | ||
|
|
4309c4f8e2 | ||
|
|
20b1c90574 | ||
|
|
7ff6ceb585 | ||
|
|
3dc3f334ec | ||
|
|
3476211f8b | ||
|
|
48e299916f | ||
|
|
35aebc9f52 | ||
|
|
cb3e1cf1e9 | ||
|
|
db509955f6 | ||
|
|
fb39899f8e | ||
|
|
f5d4bedc07 | ||
|
|
e710709c15 | ||
|
|
d74d6d9539 | ||
|
|
435e8dfc3b | ||
|
|
6c68459b34 | ||
|
|
2e75a63b26 | ||
|
|
c328996568 | ||
|
|
c648f19693 | ||
|
|
2caaf8e8c1 | ||
|
|
ceb7a7303d | ||
|
|
c01f533342 | ||
|
|
ff50361e19 | ||
|
|
3539a452a3 | ||
|
|
ea878fb614 | ||
|
|
5fd0408365 | ||
|
|
2d099b2bed | ||
|
|
3c0b9ee522 | ||
|
|
9dfe084a02 | ||
|
|
987890ba98 | ||
|
|
3358c46122 | ||
|
|
66204401c9 | ||
|
|
0644e2897d | ||
|
|
5761451def | ||
|
|
d819e6ee0c | ||
|
|
b66be79351 | ||
|
|
433fa21069 | ||
|
|
12db3d20ee | ||
|
|
80a70a6649 | ||
|
|
02ed297529 | ||
|
|
30543104be | ||
|
|
b6a004086c | ||
|
|
4265b3afb0 | ||
|
|
ccd7ba28d7 | ||
|
|
871f8b3a72 | ||
|
|
f276d2b2d4 | ||
|
|
2bb5acdfb1 | ||
|
|
dda0d8ca08 | ||
|
|
15f22c0507 | ||
|
|
fa7bd2cfab | ||
|
|
dc51781976 | ||
|
|
c874aee774 | ||
|
|
6c84fdc51d | ||
|
|
8ff0f7c529 | ||
|
|
b326ffc41c | ||
|
|
a0de8582e6 | ||
|
|
5eb0417b1a | ||
|
|
c42d9cf069 | ||
|
|
d965a7b6db | ||
|
|
c1919c2908 | ||
|
|
3fd7470104 | ||
|
|
0bf74142ac | ||
|
|
b3bf7144ac | ||
|
|
5738a4f92b | ||
|
|
784851b217 | ||
|
|
0e0803e050 | ||
|
|
3d3abfe259 | ||
|
|
3f38b518fe | ||
|
|
e673ee97de | ||
|
|
7cb55ffdc4 | ||
|
|
b706217d41 | ||
|
|
6f680081f4 | ||
|
|
fe41d37f8f | ||
|
|
833fb1264f | ||
|
|
f007735936 | ||
|
|
73a39d36ea | ||
|
|
a43ab26a46 | ||
|
|
f5f117cb72 | ||
|
|
fc6da04081 | ||
|
|
12ff654986 | ||
|
|
e852ad846f | ||
|
|
28e00fdf2e | ||
|
|
3bd0656eab | ||
|
|
e9af71dd76 | ||
|
|
73b33e8e32 | ||
|
|
c2c7efee91 | ||
|
|
c9c44d5643 | ||
|
|
0836fca822 | ||
|
|
566df5039c | ||
|
|
559655bf33 | ||
|
|
0eab23fbcf | ||
|
|
f334f4f487 | ||
|
|
49bfa49489 | ||
|
|
5f81944a3e | ||
|
|
00057da17d | ||
|
|
0a05464013 | ||
|
|
26f5a606e0 | ||
|
|
9ebb574059 | ||
|
|
d29c3c2466 | ||
|
|
a71f1c19ec | ||
|
|
485921d879 | ||
|
|
15de7572c0 | ||
|
|
09f41dd50e | ||
|
|
7b8ee467a0 | ||
|
|
99a496d684 | ||
|
|
9d6975a9e2 | ||
|
|
f43ee123d8 | ||
|
|
f42fb1b871 | ||
|
|
cf2442c5b2 | ||
|
|
e0e4735b03 | ||
|
|
138faa2aae | ||
|
|
8bd58c9608 | ||
|
|
215a725ded | ||
|
|
12c0a05af0 | ||
|
|
a7fa119041 | ||
|
|
7fb52b8b0e | ||
|
|
3e86ae4a82 | ||
|
|
ca46590ff3 | ||
|
|
947d81d96d | ||
|
|
6ca640d2ed | ||
|
|
6aca233b21 | ||
|
|
2200be697e | ||
|
|
25ab3c323b | ||
|
|
5bf30a9586 | ||
|
|
b6779a8074 | ||
|
|
59599d318c | ||
|
|
538600fd6c | ||
|
|
63264ba471 | ||
|
|
95e7f3df7d | ||
|
|
366fd2a333 | ||
|
|
5be99a4a16 | ||
|
|
d86f6a1fbd |
1455
.eslintignore
16
.eslintrc.js
@@ -48,8 +48,9 @@ module.exports = {
|
|||||||
// -------------------------------
|
// -------------------------------
|
||||||
'react/jsx-uses-react': 'error',
|
'react/jsx-uses-react': 'error',
|
||||||
'react/jsx-uses-vars': 'error',
|
'react/jsx-uses-vars': 'error',
|
||||||
'no-unused-vars': 'error',
|
'no-unused-vars': ['error', { 'argsIgnorePattern': '^_' }],
|
||||||
'@typescript-eslint/no-unused-vars': 'error',
|
'@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_' }],
|
||||||
|
'@typescript-eslint/explicit-member-accessibility': 'off',
|
||||||
'no-constant-condition': 0,
|
'no-constant-condition': 0,
|
||||||
'no-prototype-builtins': 0,
|
'no-prototype-builtins': 0,
|
||||||
// This error is always a false positive so far since it detects
|
// This error is always a false positive so far since it detects
|
||||||
@@ -121,4 +122,15 @@ module.exports = {
|
|||||||
'react-hooks',
|
'react-hooks',
|
||||||
'import',
|
'import',
|
||||||
],
|
],
|
||||||
|
'overrides': [
|
||||||
|
{
|
||||||
|
// enable the rule specifically for TypeScript files
|
||||||
|
'files': ['*.ts', '*.tsx'],
|
||||||
|
'rules': {
|
||||||
|
// Warn only because it would make it difficult to convert JS classes to TypeScript, unless we
|
||||||
|
// make everything public which is not great. New code however should specify member accessibility.
|
||||||
|
'@typescript-eslint/explicit-member-accessibility': ['warn'],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
2
.github/PULL_REQUEST_TEMPLATE
vendored
@@ -20,6 +20,6 @@ If it's not related to any platform (such as a translation, change to the docume
|
|||||||
|
|
||||||
Then please append the issue that you've addressed or fixed. Use "Resolves #123" for new features or improvements and "Fixes #123" for bug fixes.
|
Then please append the issue that you've addressed or fixed. Use "Resolves #123" for new features or improvements and "Fixes #123" for bug fixes.
|
||||||
|
|
||||||
AND PLEASE READ THE GUIDE: https://github.com/laurent22/joplin/blob/master/CONTRIBUTING.md
|
AND PLEASE READ THE GUIDE: https://github.com/laurent22/joplin/blob/dev/CONTRIBUTING.md
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
|||||||
1424
.gitignore
vendored
13
.travis.yml
@@ -61,21 +61,18 @@ script:
|
|||||||
- |
|
- |
|
||||||
# Install tools
|
# Install tools
|
||||||
npm install
|
npm install
|
||||||
cd Tools
|
|
||||||
npm install
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# Run test units.
|
# Run test units.
|
||||||
# Only do it for pull requests because Travis randomly fails to run them
|
# Only do it for pull requests because Travis randomly fails to run them
|
||||||
# and that would break the desktop release.
|
# and that would break the desktop release.
|
||||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
||||||
cd CliClient
|
cd packages/app-cli
|
||||||
npm run test-ci
|
npm run test-ci
|
||||||
testResult=$?
|
testResult=$?
|
||||||
if [ $testResult -ne 0 ]; then
|
if [ $testResult -ne 0 ]; then
|
||||||
exit $testResult
|
exit $testResult
|
||||||
fi
|
fi
|
||||||
cd ..
|
cd ../..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run linter for pull requests only - this is so that
|
# Run linter for pull requests only - this is so that
|
||||||
@@ -93,7 +90,7 @@ script:
|
|||||||
# tool like poedit. Doing it for Linux only is sufficient.
|
# tool like poedit. Doing it for Linux only is sufficient.
|
||||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
||||||
if [ "$TRAVIS_OS_NAME" != "osx" ]; then
|
if [ "$TRAVIS_OS_NAME" != "osx" ]; then
|
||||||
node Tools/validate-translation.js
|
node packages/tools/validate-translation.js
|
||||||
testResult=$?
|
testResult=$?
|
||||||
if [ $testResult -ne 0 ]; then
|
if [ $testResult -ne 0 ]; then
|
||||||
exit $testResult
|
exit $testResult
|
||||||
@@ -102,7 +99,7 @@ script:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Find out if we should run the build or not. Electron-builder gets stuck when
|
# Find out if we should run the build or not. Electron-builder gets stuck when
|
||||||
# builing PRs so we disable it in this case. The Linux build should provide
|
# building PRs so we disable it in this case. The Linux build should provide
|
||||||
# enough info if the app builds or not.
|
# enough info if the app builds or not.
|
||||||
# https://github.com/electron-userland/electron-builder/issues/4263
|
# https://github.com/electron-userland/electron-builder/issues/4263
|
||||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
||||||
@@ -112,5 +109,5 @@ script:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Prepare the Electron app and build it
|
# Prepare the Electron app and build it
|
||||||
cd ElectronClient
|
cd packages/app-desktop
|
||||||
USE_HARD_LINKS=false npm run dist
|
USE_HARD_LINKS=false npm run dist
|
||||||
|
|||||||
2707
Assets/PluginDocTheme/assets/css/main.css
Normal file
BIN
Assets/PluginDocTheme/assets/images/icons.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
Assets/PluginDocTheme/assets/images/icons@2x.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
Assets/PluginDocTheme/assets/images/widgets.png
Normal file
|
After Width: | Height: | Size: 480 B |
BIN
Assets/PluginDocTheme/assets/images/widgets@2x.png
Normal file
|
After Width: | Height: | Size: 855 B |
1
Assets/PluginDocTheme/assets/js/main.js
Normal file
36
Assets/PluginDocTheme/helpers/index.js
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
function camelCaseToDots(s) {
|
||||||
|
const output = [];
|
||||||
|
for (let i = 0; i < s.length; i++) {
|
||||||
|
const c = s[i];
|
||||||
|
if (c === c.toLowerCase() || i === 0) {
|
||||||
|
output.push(c.toLowerCase());
|
||||||
|
} else {
|
||||||
|
output.push('.');
|
||||||
|
output.push(c.toLowerCase());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return output.join('');
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
jpFormatClassName: function(className) {
|
||||||
|
if (className.indexOf('Joplin') !== 0 || className.indexOf(' ') >= 0) return className;
|
||||||
|
|
||||||
|
const p = className.substr(6);
|
||||||
|
if (p === '') return 'joplin';
|
||||||
|
|
||||||
|
return `joplin.${camelCaseToDots(p)
|
||||||
|
.replace(/menu\.items/, 'menuItems')
|
||||||
|
.replace(/toolbar\.buttons/, 'toolbarButtons')}`;
|
||||||
|
},
|
||||||
|
|
||||||
|
jpIsAllowedGroup: function(name) {
|
||||||
|
return name !== 'Constructors';
|
||||||
|
},
|
||||||
|
|
||||||
|
jsIsNotKindVariable: function(classes) {
|
||||||
|
if (!classes) return true;
|
||||||
|
return classes.indexOf('tsd-kind-variable') < 0;
|
||||||
|
},
|
||||||
|
};
|
||||||
3
Assets/PluginDocTheme/index.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Joplin Plugin Documentation
|
||||||
|
|
||||||
|
Welcome to Joplin Plugin Documentation
|
||||||
51
Assets/PluginDocTheme/layouts/default.hbs
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html class="default no-js">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<title>{{#ifCond model.name '==' project.name}}{{project.name}}{{else}}{{jpFormatClassName model.name}} | {{project.name}}{{/ifCond}}</title>
|
||||||
|
<meta name="description" content="Documentation for {{project.name}}">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{relativeURL "assets/css/main.css"}}">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
{{> header}}
|
||||||
|
|
||||||
|
<div class="container container-main">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-8 col-content">
|
||||||
|
{{{contents}}}
|
||||||
|
</div>
|
||||||
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||||
|
<!--
|
||||||
|
<nav class="tsd-navigation primary">
|
||||||
|
<ul>
|
||||||
|
{{#each navigation.children}}
|
||||||
|
{{> navigation}}
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<nav class="tsd-navigation secondary menu-sticky">
|
||||||
|
<ul class="before-current">
|
||||||
|
{{#each toc.children}}
|
||||||
|
{{> toc.root}}
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{> footer}}
|
||||||
|
|
||||||
|
<div class="overlay"></div>
|
||||||
|
<script src="{{relativeURL "assets/js/main.js"}}"></script>
|
||||||
|
|
||||||
|
{{> analytics}}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
11
Assets/PluginDocTheme/partials/analytics.hbs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{{#if settings.gaID}}
|
||||||
|
<script>
|
||||||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
|
ga('create', '{{settings.gaID}}', '{{settings.gaSite}}');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
{{/if}}
|
||||||
18
Assets/PluginDocTheme/partials/breadcrumb.hbs
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{{#if parent}}
|
||||||
|
{{#with parent}}{{> breadcrumb}}{{/with}}
|
||||||
|
<li>
|
||||||
|
{{#if url}}
|
||||||
|
<a href="{{relativeURL url}}">{{jpFormatClassName name}}</a>
|
||||||
|
{{else}}
|
||||||
|
<span>{{jpFormatClassName name}}</span>
|
||||||
|
{{/if}}
|
||||||
|
</li>
|
||||||
|
{{else}}
|
||||||
|
<!--
|
||||||
|
{{#if url}}
|
||||||
|
<li>
|
||||||
|
<a href="{{relativeURL url}}">Globals</a>
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
||||||
|
-->
|
||||||
|
{{/if}}
|
||||||
22
Assets/PluginDocTheme/partials/comment.hbs
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{{#with comment}}
|
||||||
|
{{#if hasVisibleComponent}}
|
||||||
|
<div class="tsd-comment tsd-typography">
|
||||||
|
{{#if shortText}}
|
||||||
|
<div class="lead">
|
||||||
|
{{#markdown}}{{{shortText}}}{{/markdown}}
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
{{#if text}}
|
||||||
|
{{#markdown}}{{{text}}}{{/markdown}}
|
||||||
|
{{/if}}
|
||||||
|
{{#if tags}}
|
||||||
|
<dl class="tsd-comment-tags">
|
||||||
|
{{#each tags}}
|
||||||
|
<dt>{{tagName}}</dt>
|
||||||
|
<dd>{{#markdown}}{{{text}}}{{/markdown}}</dd>
|
||||||
|
{{/each}}
|
||||||
|
</dl>
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
{{/with}}
|
||||||
23
Assets/PluginDocTheme/partials/footer.hbs
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
<!-- JOPLINCHANGE
|
||||||
|
<footer{{#unless settings.hideGenerator}} class="with-border-bottom"{{/unless}}>
|
||||||
|
<div class="container">
|
||||||
|
<h2>Legend</h2>
|
||||||
|
<div class="tsd-legend-group">
|
||||||
|
{{#each legend}}
|
||||||
|
<ul class="tsd-legend">
|
||||||
|
{{#each .}}
|
||||||
|
<li class="{{#compact}}{{#each classes}} {{.}}{{/each}}{{/compact}}"><span class="tsd-kind-icon">{{name}}</span></li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
{{/each}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
{{#unless settings.hideGenerator}}
|
||||||
|
<div class="container tsd-generator">
|
||||||
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
||||||
|
</div>
|
||||||
|
{{/unless}}
|
||||||
|
-->
|
||||||
71
Assets/PluginDocTheme/partials/header.hbs
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
<header>
|
||||||
|
<div class="tsd-page-toolbar">
|
||||||
|
<div class="container">
|
||||||
|
<div class="table-wrap">
|
||||||
|
<div class="table-cell" id="tsd-search" data-index="{{relativeURL "assets/js/search.json"}}" data-base="{{relativeURL "./"}}">
|
||||||
|
<div class="field">
|
||||||
|
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
||||||
|
<input id="tsd-search-field" type="text" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<ul class="results">
|
||||||
|
<li class="state loading">Preparing search index...</li>
|
||||||
|
<li class="state failure">The search index is not available</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<a href="{{relativeURL "classes/joplin.html"}}" class="title">{{project.name}}</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="table-cell" id="tsd-widgets">
|
||||||
|
<div id="tsd-filter">
|
||||||
|
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
||||||
|
<div class="tsd-filter-group">
|
||||||
|
<div class="tsd-select" id="tsd-filter-visibility">
|
||||||
|
<span class="tsd-select-label">All</span>
|
||||||
|
<ul class="tsd-select-list">
|
||||||
|
<li data-value="public">Public</li>
|
||||||
|
<li data-value="protected">Public/Protected</li>
|
||||||
|
<li data-value="private" class="selected">All</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input type="checkbox" id="tsd-filter-inherited" checked />
|
||||||
|
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
||||||
|
|
||||||
|
{{#unless settings.excludeExternals}}
|
||||||
|
<input type="checkbox" id="tsd-filter-externals" checked />
|
||||||
|
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
||||||
|
{{/unless}}
|
||||||
|
|
||||||
|
{{#unless settings.excludeNotExported}}
|
||||||
|
<input type="checkbox" id="tsd-filter-only-exported" />
|
||||||
|
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
|
||||||
|
{{/unless}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="tsd-page-title">
|
||||||
|
<div class="container">
|
||||||
|
<ul class="tsd-breadcrumb">
|
||||||
|
{{#with model}}{{> breadcrumb}}{{/with}}
|
||||||
|
</ul>
|
||||||
|
<h1>{{#compact}}
|
||||||
|
<!-- {{model.kindString}} -->
|
||||||
|
{{jpFormatClassName model.name}}
|
||||||
|
{{#if model.typeParameters}}
|
||||||
|
<
|
||||||
|
{{#each model.typeParameters}}
|
||||||
|
{{#if @index}}, {{/if}}
|
||||||
|
{{name}}
|
||||||
|
{{/each}}
|
||||||
|
>
|
||||||
|
{{/if}}
|
||||||
|
{{/compact}}</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
17
Assets/PluginDocTheme/partials/hierarchy.hbs
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<ul class="tsd-hierarchy">
|
||||||
|
{{#each types}}
|
||||||
|
<li>
|
||||||
|
{{#if ../isTarget}}
|
||||||
|
<span class="target">{{this}}</span>
|
||||||
|
{{else}}
|
||||||
|
{{#compact}}{{> type}}{{/compact}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if @last}}
|
||||||
|
{{#with ../next}}
|
||||||
|
{{> hierarchy}}
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
32
Assets/PluginDocTheme/partials/index.hbs
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{{#if groups}}
|
||||||
|
<section class="tsd-panel-group tsd-index-group">
|
||||||
|
<h2>Index</h2>
|
||||||
|
<section class="tsd-panel tsd-index-panel">
|
||||||
|
<div class="tsd-index-content">
|
||||||
|
{{#each groups}}
|
||||||
|
<section class="tsd-index-section {{cssClasses}}">
|
||||||
|
{{#if categories}}
|
||||||
|
{{#each categories}}
|
||||||
|
<h3>{{#if title}}{{title}} {{/if}}{{../title}}</h3>
|
||||||
|
<ul class="tsd-index-list">
|
||||||
|
{{#each children}}
|
||||||
|
<li class="{{cssClasses}}"><a href="{{relativeURL url}}" class="tsd-kind-icon">{{#if name}}{{{wbr name}}}{{else}}<em>{{{wbr kindString}}}</em>{{/if}}</a></li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
{{/each}}
|
||||||
|
{{else}}
|
||||||
|
{{#if (jpIsAllowedGroup title)}}
|
||||||
|
<h3>{{title}}</h3>
|
||||||
|
<ul class="tsd-index-list">
|
||||||
|
{{#each children}}
|
||||||
|
<li class="{{cssClasses}}"><a href="{{relativeURL url}}" class="tsd-kind-icon">{{#if name}}{{{wbr name}}}{{else}}<em>{{{wbr kindString}}}</em>{{/if}}</a></li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
</section>
|
||||||
|
{{/each}}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
{{/if}}
|
||||||
36
Assets/PluginDocTheme/partials/member.declaration.hbs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
<div class="tsd-signature tsd-kind-icon">{{#compact}}
|
||||||
|
{{{wbr name}}}
|
||||||
|
{{#if typeParameters}}
|
||||||
|
<
|
||||||
|
{{#each typeParameters}}
|
||||||
|
{{#if @index}}, {{/if}}
|
||||||
|
{{name}}
|
||||||
|
{{/each}}
|
||||||
|
>
|
||||||
|
{{/if}}
|
||||||
|
<span class="tsd-signature-symbol">{{#if isOptional}}?{{/if}}:</span> {{#with type}}{{>type}}{{/with}}
|
||||||
|
{{#if defaultValue}}
|
||||||
|
<span class="tsd-signature-symbol">
|
||||||
|
=
|
||||||
|
{{defaultValue}}
|
||||||
|
</span>
|
||||||
|
{{/if}}
|
||||||
|
{{/compact}}</div>
|
||||||
|
|
||||||
|
{{> member.sources}}
|
||||||
|
|
||||||
|
{{> comment}}
|
||||||
|
|
||||||
|
{{#if typeParameters}}
|
||||||
|
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
||||||
|
{{> typeParameters}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if type.declaration}}
|
||||||
|
<div class="tsd-type-declaration">
|
||||||
|
<h4>Type declaration</h4>
|
||||||
|
{{#with type.declaration}}
|
||||||
|
{{> parameter}}
|
||||||
|
{{/with}}
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
37
Assets/PluginDocTheme/partials/member.getterSetter.hbs
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
<ul class="tsd-signatures {{cssClasses}}">
|
||||||
|
{{#if getSignature}}
|
||||||
|
{{#with getSignature}}
|
||||||
|
<li class="tsd-signature tsd-kind-icon">{{#compact}}
|
||||||
|
<span class="tsd-signature-symbol">get</span>
|
||||||
|
{{../name}}
|
||||||
|
{{> member.signature.title hideName=true }}
|
||||||
|
{{/compact}}</li>
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
{{#if setSignature}}
|
||||||
|
{{#with setSignature}}
|
||||||
|
<li class="tsd-signature tsd-kind-icon">{{#compact}}
|
||||||
|
<span class="tsd-signature-symbol">set</span>
|
||||||
|
{{../name}}
|
||||||
|
{{> member.signature.title hideName=true }}
|
||||||
|
{{/compact}}</li>
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="tsd-descriptions">
|
||||||
|
{{#if getSignature}}
|
||||||
|
{{#with getSignature}}
|
||||||
|
<li class="tsd-description">
|
||||||
|
{{> member.signature.body }}
|
||||||
|
</li>
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
{{#if setSignature}}
|
||||||
|
{{#with setSignature}}
|
||||||
|
<li class="tsd-description">
|
||||||
|
{{> member.signature.body }}
|
||||||
|
</li>
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
</ul>
|
||||||
24
Assets/PluginDocTheme/partials/member.hbs
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<section class="tsd-panel tsd-member {{cssClasses}}">
|
||||||
|
<a name="{{anchor}}" class="tsd-anchor"></a>
|
||||||
|
{{#if name}}
|
||||||
|
<h3>{{#each flags}}<span class="tsd-flag ts-flag{{this}}">{{this}}</span> {{/each}}{{{wbr name}}}</h3>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if signatures}}
|
||||||
|
{{> member.signatures}}
|
||||||
|
{{else}}{{#if hasGetterOrSetter}}
|
||||||
|
{{> member.getterSetter}}
|
||||||
|
{{else}}{{#if isReference}}
|
||||||
|
{{> member.reference}}
|
||||||
|
{{else}}
|
||||||
|
{{> member.declaration}}
|
||||||
|
{{/if}}{{/if}}{{/if}}
|
||||||
|
|
||||||
|
{{#each groups}}
|
||||||
|
{{#each children}}
|
||||||
|
{{#unless hasOwnDocument}}
|
||||||
|
{{> member}}
|
||||||
|
{{/unless}}
|
||||||
|
{{/each}}
|
||||||
|
{{/each}}
|
||||||
|
</section>
|
||||||
11
Assets/PluginDocTheme/partials/member.reference.hbs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{{#with tryGetTargetReflectionDeep}}
|
||||||
|
{{#ifCond ../name '===' name}}
|
||||||
|
Re-exports <a href="{{relativeURL url}}">{{name}}</a>
|
||||||
|
{{else if flags.isExported}}
|
||||||
|
Renames and re-exports <a href="{{relativeURL url}}">{{name}}</a>
|
||||||
|
{{else}}
|
||||||
|
Renames and exports <a href="{{relativeURL url}}">{{name}}</a>
|
||||||
|
{{/ifCond}}
|
||||||
|
{{else}}
|
||||||
|
Re-exports {{name}}
|
||||||
|
{{/with}}
|
||||||
58
Assets/PluginDocTheme/partials/member.signature.body.hbs
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
{{#unless hideSources}}
|
||||||
|
{{> member.sources}}
|
||||||
|
{{/unless}}
|
||||||
|
|
||||||
|
{{> comment}}
|
||||||
|
|
||||||
|
{{#if typeParameters}}
|
||||||
|
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
||||||
|
{{> typeParameters}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if parameters}}
|
||||||
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
|
<ul class="tsd-parameters">
|
||||||
|
{{#each parameters}}
|
||||||
|
<li>
|
||||||
|
<h5>{{#compact}}
|
||||||
|
{{#each flags}}
|
||||||
|
<span class="tsd-flag ts-flag{{this}}">{{this}}</span>
|
||||||
|
{{/each}}
|
||||||
|
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
|
||||||
|
{{name}}:
|
||||||
|
{{#with type}}{{>type}}{{/with}}
|
||||||
|
{{#if defaultValue}}
|
||||||
|
<span class="tsd-signature-symbol">
|
||||||
|
=
|
||||||
|
{{defaultValue}}
|
||||||
|
</span>
|
||||||
|
{{/if}}
|
||||||
|
{{/compact}}</h5>
|
||||||
|
|
||||||
|
{{> comment}}
|
||||||
|
|
||||||
|
{{#if type.declaration}}
|
||||||
|
{{#with type.declaration}}
|
||||||
|
{{> parameter}}
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
<!-- JOPLINCHANGE
|
||||||
|
{{#if type}}
|
||||||
|
<h4 class="tsd-returns-title">Returns {{#compact}}{{#with type}}{{>type}}{{/with}}{{/compact}}</h4>
|
||||||
|
|
||||||
|
{{#if comment.returns}}
|
||||||
|
{{#markdown}}{{{comment.returns}}}{{/markdown}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if type.declaration}}
|
||||||
|
{{#with type.declaration}}
|
||||||
|
{{> parameter}}
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
-->
|
||||||
32
Assets/PluginDocTheme/partials/member.signature.title.hbs
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{{#unless hideName}}{{{wbr name}}}{{/unless}}
|
||||||
|
{{#if typeParameters}}
|
||||||
|
<
|
||||||
|
{{#each typeParameters}}
|
||||||
|
{{#if @index}}, {{/if}}
|
||||||
|
{{name}}
|
||||||
|
{{/each}}
|
||||||
|
>
|
||||||
|
{{/if}}
|
||||||
|
<span class="tsd-signature-symbol">(</span>
|
||||||
|
{{#each parameters}}
|
||||||
|
{{#if @index}}, {{/if}}
|
||||||
|
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
|
||||||
|
{{name}}
|
||||||
|
<span class="tsd-signature-symbol">
|
||||||
|
{{#if flags.isOptional}}?{{/if}}
|
||||||
|
{{#if defaultValue}}?{{/if}}
|
||||||
|
:
|
||||||
|
</span>
|
||||||
|
{{#with type}}{{>type}}{{/with}}
|
||||||
|
{{/each}}
|
||||||
|
<span class="tsd-signature-symbol">)</span>
|
||||||
|
{{#if type}}
|
||||||
|
{{#if arrowStyle}}
|
||||||
|
<span class="tsd-signature-symbol"> => </span>
|
||||||
|
{{else}}
|
||||||
|
<span class="tsd-signature-symbol">: </span>
|
||||||
|
{{/if}}
|
||||||
|
{{#with type}}
|
||||||
|
{{>type}}
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
13
Assets/PluginDocTheme/partials/member.signatures.hbs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<ul class="tsd-signatures {{cssClasses}}">
|
||||||
|
{{#each signatures}}
|
||||||
|
<li class="tsd-signature tsd-kind-icon">{{#compact}}{{> member.signature.title }}{{/compact}}</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="tsd-descriptions">
|
||||||
|
{{#each signatures}}
|
||||||
|
<li class="tsd-description">
|
||||||
|
{{> member.signature.body }}
|
||||||
|
</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
11
Assets/PluginDocTheme/partials/member.sources.hbs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<aside class="tsd-sources">
|
||||||
|
{{#if implementationOf}}
|
||||||
|
<p>Implementation of {{#with implementationOf}}{{> typeAndParent}}{{/with}}</p>
|
||||||
|
{{/if}}
|
||||||
|
{{#if inheritedFrom}}
|
||||||
|
<p>Inherited from {{#with inheritedFrom}}{{> typeAndParent}}{{/with}}</p>
|
||||||
|
{{/if}}
|
||||||
|
{{#if overwrites}}
|
||||||
|
<p>Overrides {{#with overwrites}}{{> typeAndParent}}{{/with}}</p>
|
||||||
|
{{/if}}
|
||||||
|
</aside>
|
||||||
23
Assets/PluginDocTheme/partials/members.group.hbs
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{{#if categories}}
|
||||||
|
{{#each categories}}
|
||||||
|
<section class="tsd-panel-group tsd-member-group {{cssClasses}}">
|
||||||
|
<h2>{{#if title}}{{title}} {{/if}}{{../title}}</h2>
|
||||||
|
{{#each children}}
|
||||||
|
{{#unless hasOwnDocument}}
|
||||||
|
{{> member}}
|
||||||
|
{{/unless}}
|
||||||
|
{{/each}}
|
||||||
|
</section>
|
||||||
|
{{/each}}
|
||||||
|
{{else}}
|
||||||
|
<section class="tsd-panel-group tsd-member-group {{cssClasses}}">
|
||||||
|
{{#if (jpIsAllowedGroup title)}}
|
||||||
|
<h2>{{title}}</h2>
|
||||||
|
{{#each children}}
|
||||||
|
{{#unless hasOwnDocument}}
|
||||||
|
{{> member}}
|
||||||
|
{{/unless}}
|
||||||
|
{{/each}}
|
||||||
|
{{/if}}
|
||||||
|
</section>
|
||||||
|
{{/if}}
|
||||||
20
Assets/PluginDocTheme/partials/members.hbs
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{{#if categories}}
|
||||||
|
{{#each categories}}
|
||||||
|
{{#unless allChildrenHaveOwnDocument}}
|
||||||
|
<section class="tsd-panel-group tsd-member-group {{cssClasses}}">
|
||||||
|
<h2>{{title}}</h2>
|
||||||
|
{{#each children}}
|
||||||
|
{{#unless hasOwnDocument}}
|
||||||
|
{{> member}}
|
||||||
|
{{/unless}}
|
||||||
|
{{/each}}
|
||||||
|
</section>
|
||||||
|
{{/unless}}
|
||||||
|
{{/each}}
|
||||||
|
{{else}}
|
||||||
|
{{#each groups}}
|
||||||
|
{{#unless allChildrenHaveOwnDocument}}
|
||||||
|
{{> members.group}}
|
||||||
|
{{/unless}}
|
||||||
|
{{/each}}
|
||||||
|
{{/if}}
|
||||||
26
Assets/PluginDocTheme/partials/navigation.hbs
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{{#if isVisible}}
|
||||||
|
{{#if isLabel}}
|
||||||
|
<li class="label {{cssClasses}}">
|
||||||
|
<span>{{{wbr title}}}</span>
|
||||||
|
</li>
|
||||||
|
{{else}}
|
||||||
|
{{#if isGlobals}}
|
||||||
|
<li class="globals {{#if isInPath}}current{{/if}} {{cssClasses}}">
|
||||||
|
<a href="{{relativeURL url}}"><em>{{{wbr title}}}</em></a>
|
||||||
|
</li>
|
||||||
|
{{else}}
|
||||||
|
<li class="{{#if isInPath}}current{{/if}} {{cssClasses}}">
|
||||||
|
<a href="{{relativeURL url}}">{{{wbr title}}}</a>
|
||||||
|
{{#if isInPath}}
|
||||||
|
{{#if children}}
|
||||||
|
<ul>
|
||||||
|
{{#each children}}
|
||||||
|
{{> navigation}}
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
83
Assets/PluginDocTheme/partials/parameter.hbs
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
<ul class="tsd-parameters">
|
||||||
|
{{#if signatures}}
|
||||||
|
<li class="tsd-parameter-signature">
|
||||||
|
<ul class="tsd-signatures {{cssClasses}}">
|
||||||
|
{{#each signatures}}
|
||||||
|
<li class="tsd-signature tsd-kind-icon">{{#compact}}
|
||||||
|
{{> member.signature.title hideName=true }}
|
||||||
|
{{/compact}}</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="tsd-descriptions">
|
||||||
|
{{#each signatures}}
|
||||||
|
<li class="tsd-description">{{> member.signature.body hideSources=true }}</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
||||||
|
{{#if indexSignature}}
|
||||||
|
<li class="tsd-parameter-index-signature">
|
||||||
|
<h5>{{#compact}}
|
||||||
|
<span class="tsd-signature-symbol">[</span>
|
||||||
|
{{#each indexSignature.parameters}}
|
||||||
|
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}{{name}}: {{#with type}}{{>type}}{{/with}}
|
||||||
|
{{/each}}
|
||||||
|
<span class="tsd-signature-symbol">]: </span>
|
||||||
|
{{#with indexSignature.type}}{{>type}}{{/with}}
|
||||||
|
{{/compact}}</h5>
|
||||||
|
|
||||||
|
{{#with indexSignature}}
|
||||||
|
{{> comment}}
|
||||||
|
{{/with}}
|
||||||
|
|
||||||
|
{{#if indexSignature.type.declaration}}
|
||||||
|
{{#with indexSignature.type.declaration}}
|
||||||
|
{{> parameter}}
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
||||||
|
{{#each children}}
|
||||||
|
<li class="tsd-parameter">
|
||||||
|
{{#if signatures}}
|
||||||
|
<h5>{{#compact}}
|
||||||
|
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
|
||||||
|
{{{wbr name}}}
|
||||||
|
<span class="tsd-signature-symbol">
|
||||||
|
{{#if isOptional}}?{{/if}}
|
||||||
|
:
|
||||||
|
</span>
|
||||||
|
function
|
||||||
|
{{/compact}}</h5>
|
||||||
|
|
||||||
|
{{> member.signatures}}
|
||||||
|
{{else}}
|
||||||
|
<h5>{{#compact}}
|
||||||
|
{{#each flags}}
|
||||||
|
<span class="tsd-flag ts-flag{{this}}">{{this}}</span>
|
||||||
|
{{/each}}
|
||||||
|
{{#if flags.isRest}}<span class="tsd-signature-symbol">...</span>{{/if}}
|
||||||
|
{{{wbr name}}}
|
||||||
|
<span class="tsd-signature-symbol">
|
||||||
|
{{#if flags.isOptional}}?{{/if}}
|
||||||
|
:
|
||||||
|
</span>
|
||||||
|
{{#with type}}{{>type}}{{/with}}
|
||||||
|
{{/compact}}</h5>
|
||||||
|
|
||||||
|
{{> comment}}
|
||||||
|
|
||||||
|
{{#if children}}
|
||||||
|
{{> parameter}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if type.declaration}}
|
||||||
|
{{#with type.declaration}}
|
||||||
|
{{> parameter}}
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
10
Assets/PluginDocTheme/partials/toc.hbs
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<li class="{{#if isInPath}}current{{/if}} {{cssClasses}}">
|
||||||
|
<a href="{{relativeURL url}}" class="tsd-kind-icon">{{{wbr title}}}</a>
|
||||||
|
{{#if children}}
|
||||||
|
<ul>
|
||||||
|
{{#each children}}
|
||||||
|
{{> toc}}
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
{{/if}}
|
||||||
|
</li>
|
||||||
21
Assets/PluginDocTheme/partials/toc.root.hbs
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{{#if isInPath}}
|
||||||
|
</ul>
|
||||||
|
<ul class="current">
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if (jsIsNotKindVariable cssClasses)}}
|
||||||
|
<li class="{{#if isInPath}}current{{/if}} {{cssClasses}}">
|
||||||
|
<a href="{{relativeURL url}}" class="tsd-kind-icon">{{{jpFormatClassName title}}}</a>
|
||||||
|
{{#if children}}
|
||||||
|
<ul>
|
||||||
|
{{#each children}}
|
||||||
|
{{> toc}}
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
{{/if}}
|
||||||
|
</li>
|
||||||
|
{{#if isInPath}}
|
||||||
|
</ul>
|
||||||
|
<ul class="after-current">
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
211
Assets/PluginDocTheme/partials/type.hbs
Normal file
@@ -0,0 +1,211 @@
|
|||||||
|
{{! Each type gets its own inline helper to determine how it is rendered. }}
|
||||||
|
{{! The name of the helper is the value of the 'type' property on the type.}}
|
||||||
|
|
||||||
|
{{!
|
||||||
|
The type helper accepts an optional needsParens parameter that is checked
|
||||||
|
if an inner type may result in invalid output without them. For example:
|
||||||
|
1 | 2[] !== (1 | 2)[]
|
||||||
|
() => 1 | 2 !== (() => 1) | 2
|
||||||
|
}}
|
||||||
|
|
||||||
|
{{#*inline 'array'}}
|
||||||
|
{{#with elementType}}
|
||||||
|
{{> type needsParens=true}}
|
||||||
|
<span class="tsd-signature-symbol">[]</span>
|
||||||
|
{{/with}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'conditional'}}
|
||||||
|
{{#if needsParens}}
|
||||||
|
<span class="tsd-signature-symbol">(</span>
|
||||||
|
{{/if}}
|
||||||
|
{{#with checkType}}
|
||||||
|
{{> type needsParens=true}}
|
||||||
|
{{/with}}
|
||||||
|
<span class="tsd-signature-symbol"> extends </span>
|
||||||
|
{{#with extendsType}}
|
||||||
|
{{> type}}
|
||||||
|
{{/with}}
|
||||||
|
<span class="tsd-signature-symbol"> ? </span>
|
||||||
|
{{#with trueType}}
|
||||||
|
{{> type}}
|
||||||
|
{{/with}}
|
||||||
|
<span class="tsd-signature-symbol"> : </span>
|
||||||
|
{{#with falseType}}
|
||||||
|
{{> type}}
|
||||||
|
{{/with}}
|
||||||
|
{{#if needsParens}}
|
||||||
|
<span class="tsd-signature-symbol">)</span>
|
||||||
|
{{/if}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'indexedAccess'}}
|
||||||
|
{{#with objectType}}
|
||||||
|
{{> type}}
|
||||||
|
{{/with}}
|
||||||
|
<span class="tsd-signature-symbol">[</span>
|
||||||
|
{{#with indexType}}
|
||||||
|
{{> type}}
|
||||||
|
{{/with}}
|
||||||
|
<span class="tsd-signature-symbol">]</span>
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'inferred'}}
|
||||||
|
<span class="tsd-signature-symbol">infer </span> {{name}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'intersection'}}
|
||||||
|
{{#if needsParens}}
|
||||||
|
<span class="tsd-signature-symbol">(</span>
|
||||||
|
{{/if}}
|
||||||
|
{{#each types}}
|
||||||
|
{{#unless @first}}
|
||||||
|
<span class="tsd-signature-symbol"> & </span>
|
||||||
|
{{/unless}}
|
||||||
|
{{> type}}
|
||||||
|
{{/each}}
|
||||||
|
{{#if needsParens}}
|
||||||
|
<span class="tsd-signature-symbol">)</span>
|
||||||
|
{{/if}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'intrinsic'}}
|
||||||
|
<span class="tsd-signature-type">{{name}}</span>
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'predicate'}}
|
||||||
|
{{#if asserts}}
|
||||||
|
<span class="tsd-signature-symbol">asserts</span>
|
||||||
|
{{/if}}
|
||||||
|
<span class="tsd-signature-type">{{name}}</span>
|
||||||
|
{{#if targetType}}
|
||||||
|
<span class="tsd-signature-symbol"> is </span>
|
||||||
|
{{#with targetType}}
|
||||||
|
{{>type}}
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'query'}}
|
||||||
|
<span class="tsd-signature-symbol">typeof </span>
|
||||||
|
{{#with queryType}}
|
||||||
|
{{> type}}
|
||||||
|
{{/with}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'reference'}}
|
||||||
|
{{#if reflection}}
|
||||||
|
<a href="{{relativeURL reflection.url}}" class="tsd-signature-type">
|
||||||
|
{{jpFormatClassName reflection.name}}
|
||||||
|
</a>
|
||||||
|
{{else}}
|
||||||
|
<span class="tsd-signature-type">{{jpFormatClassName name}}</span>
|
||||||
|
{{/if}}
|
||||||
|
{{#if typeArguments}}
|
||||||
|
<span class="tsd-signature-symbol"><</span>
|
||||||
|
{{#each typeArguments}}
|
||||||
|
{{#unless @first}}
|
||||||
|
<span class="tsd-signature-symbol">, </span>
|
||||||
|
{{/unless}}
|
||||||
|
{{> type}}
|
||||||
|
{{/each}}
|
||||||
|
<span class="tsd-signature-symbol">></span>
|
||||||
|
{{/if}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'reflection'}}
|
||||||
|
{{#if declaration.children}} {{! object literal }}
|
||||||
|
<span class="tsd-signature-symbol">{ </span>
|
||||||
|
{{#each declaration.children}}
|
||||||
|
{{#unless @first}}
|
||||||
|
<span class="tsd-signature-symbol">; </span>
|
||||||
|
{{/unless}}
|
||||||
|
{{name}}
|
||||||
|
{{#if flags.isOptional }}
|
||||||
|
<span class="tsd-signature-symbol">?: </span>
|
||||||
|
{{else}}
|
||||||
|
<span class="tsd-signature-symbol">: </span>
|
||||||
|
{{/if}}
|
||||||
|
{{#with type}}
|
||||||
|
{{> type}}
|
||||||
|
{{else}}
|
||||||
|
<span class="tsd-signature-type">any</span>
|
||||||
|
{{/with}}
|
||||||
|
{{/each}}
|
||||||
|
<span class="tsd-signature-symbol"> }</span>
|
||||||
|
{{else if declaration.signatures}}
|
||||||
|
{{#if (lookup declaration.signatures 1) }} {{! more than one signature}}
|
||||||
|
<span class="tsd-signature-symbol">{ </span>
|
||||||
|
{{#each declaration.signatures}}
|
||||||
|
{{> member.signature.title hideName=true}}
|
||||||
|
{{#unless @last}}
|
||||||
|
<span class="tsd-signature-symbol">; </span>
|
||||||
|
{{/unless}}
|
||||||
|
{{/each}}
|
||||||
|
<span class="tsd-signature-symbol"> }</span>
|
||||||
|
{{else}}
|
||||||
|
{{#if needsParens}}
|
||||||
|
<span class="tsd-signature-symbol">(</span>
|
||||||
|
{{/if}}
|
||||||
|
{{#with (lookup declaration.signatures '0') }}
|
||||||
|
{{> member.signature.title hideName=true arrowStyle=true}}
|
||||||
|
{{/with}}
|
||||||
|
{{#if needsParens}}
|
||||||
|
<span class="tsd-signature-symbol">)</span>
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
{{else}}
|
||||||
|
<span class="tsd-signature-symbol">{}</span>
|
||||||
|
{{/if}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'stringLiteral'}}
|
||||||
|
<span class="tsd-signature-type">"{{value}}"</span>
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'tuple'}}
|
||||||
|
<span class="tsd-signature-symbol">[</span>
|
||||||
|
{{#each elements}}
|
||||||
|
{{#unless @first}}
|
||||||
|
<span class="tsd-signature-symbol">, </span>
|
||||||
|
{{/unless}}
|
||||||
|
{{> type}}
|
||||||
|
{{/each}}
|
||||||
|
<span class="tsd-signature-symbol">]</span>
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'typeOperator'}}
|
||||||
|
<span class="tsd-signature-symbol">{{operator}} </span>
|
||||||
|
{{#with target}}
|
||||||
|
{{> type}}
|
||||||
|
{{/with}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'typeParameter'}}
|
||||||
|
<span class="tsd-signature-type">{{name}}</span>
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'union'}}
|
||||||
|
{{#if needsParens}}
|
||||||
|
<span class="tsd-signature-symbol">(</span>
|
||||||
|
{{/if}}
|
||||||
|
{{#each types}}
|
||||||
|
{{#unless @first}}
|
||||||
|
<span class="tsd-signature-symbol"> | </span>
|
||||||
|
{{/unless}}
|
||||||
|
{{> type needsParens=true}}
|
||||||
|
{{/each}}
|
||||||
|
{{#if needsParens}}
|
||||||
|
<span class="tsd-signature-symbol">)</span>
|
||||||
|
{{/if}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#*inline 'unknown'}}
|
||||||
|
<span class="tsd-signature-type">{{name}}</span>
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
{{#if this}}
|
||||||
|
{{> (lookup . 'type') }}
|
||||||
|
{{else}}
|
||||||
|
<span class="tsd-signature-type">void</span>
|
||||||
|
{{/if}}
|
||||||
42
Assets/PluginDocTheme/partials/typeAndParent.hbs
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{{#compact}}
|
||||||
|
{{#if this}}
|
||||||
|
{{#if elementType}}
|
||||||
|
{{#with elementType}}
|
||||||
|
{{> typeAndParent}}
|
||||||
|
{{/with}}
|
||||||
|
[]
|
||||||
|
{{else}}
|
||||||
|
{{#if reflection}}
|
||||||
|
{{#ifSignature reflection}}
|
||||||
|
{{#if reflection.parent.parent.url}}
|
||||||
|
<a href="{{relativeURL reflection.parent.parent.url}}">{{reflection.parent.parent.name}}</a>
|
||||||
|
{{else}}
|
||||||
|
{{reflection.parent.parent.name}}
|
||||||
|
{{/if}}
|
||||||
|
.
|
||||||
|
{{#if reflection.parent.url}}
|
||||||
|
<a href="{{relativeURL reflection.parent.url}}">{{reflection.parent.name}}</a>
|
||||||
|
{{else}}
|
||||||
|
{{reflection.parent.name}}
|
||||||
|
{{/if}}
|
||||||
|
{{else}}
|
||||||
|
{{#if reflection.parent.url}}
|
||||||
|
<a href="{{relativeURL reflection.parent.url}}">{{reflection.parent.name}}</a>
|
||||||
|
{{else}}
|
||||||
|
{{reflection.parent.name}}
|
||||||
|
{{/if}}
|
||||||
|
.
|
||||||
|
{{#if reflection.url}}
|
||||||
|
<a href="{{relativeURL reflection.url}}">{{reflection.name}}</a>
|
||||||
|
{{else}}
|
||||||
|
{{reflection.name}}
|
||||||
|
{{/if}}
|
||||||
|
{{/ifSignature}}
|
||||||
|
{{else}}
|
||||||
|
{{this}}
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
{{else}}
|
||||||
|
void
|
||||||
|
{{/if}}
|
||||||
|
{{/compact}}
|
||||||
14
Assets/PluginDocTheme/partials/typeParameters.hbs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<ul class="tsd-type-parameters">
|
||||||
|
{{#each typeParameters}}
|
||||||
|
<li>
|
||||||
|
<h4>{{#compact}}
|
||||||
|
{{name}}
|
||||||
|
{{#if type}}
|
||||||
|
<span class="tsd-signature-symbol">: </span>
|
||||||
|
{{#with type}}{{> type}}{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
{{/compact}}</h4>
|
||||||
|
{{> comment}}
|
||||||
|
</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
3
Assets/PluginDocTheme/templates/index.hbs
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<div class="tsd-panel tsd-typography">
|
||||||
|
{{#markdown}}{{{model.readme}}}{{/markdown}}
|
||||||
|
</div>
|
||||||
81
Assets/PluginDocTheme/templates/reflection.hbs
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
{{#with model}}
|
||||||
|
{{#if hasComment}}
|
||||||
|
<section class="tsd-panel tsd-comment">
|
||||||
|
{{> comment}}
|
||||||
|
</section>
|
||||||
|
{{/if}}
|
||||||
|
{{/with}}
|
||||||
|
|
||||||
|
{{#if model.typeParameters}}
|
||||||
|
<section class="tsd-panel tsd-type-parameters">
|
||||||
|
<h3>Type parameters</h3>
|
||||||
|
{{#with model}}{{> typeParameters}}{{/with}}
|
||||||
|
</section>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if model.typeHierarchy}}
|
||||||
|
<!--
|
||||||
|
<section class="tsd-panel tsd-hierarchy">
|
||||||
|
<h3>Hierarchy</h3>
|
||||||
|
{{#with model.typeHierarchy}}{{> hierarchy}}{{/with}}
|
||||||
|
</section>
|
||||||
|
-->
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if model.implementedTypes}}
|
||||||
|
<section class="tsd-panel">
|
||||||
|
<h3>Implements</h3>
|
||||||
|
<ul class="tsd-hierarchy">
|
||||||
|
{{#each model.implementedTypes}}
|
||||||
|
<li>{{#compact}}{{> type}}{{/compact}}</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if model.implementedBy}}
|
||||||
|
<section class="tsd-panel">
|
||||||
|
<h3>Implemented by</h3>
|
||||||
|
<ul class="tsd-hierarchy">
|
||||||
|
{{#each model.implementedBy}}
|
||||||
|
<li>{{#compact}}{{> type}}{{/compact}}</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if model.signatures}}
|
||||||
|
<section class="tsd-panel">
|
||||||
|
<h3 class="tsd-before-signature">Callable</h3>
|
||||||
|
{{#with model}}{{> member.signatures}}{{/with}}
|
||||||
|
</section>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if model.indexSignature}}
|
||||||
|
<section class="tsd-panel {{model.cssClasses}}">
|
||||||
|
<h3 class="tsd-before-signature">Indexable</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">{{#compact}}
|
||||||
|
<span class="tsd-signature-symbol">[</span>
|
||||||
|
{{#each model.indexSignature.parameters}}
|
||||||
|
{{name}}: {{#with type}}{{>type}}{{/with}}
|
||||||
|
{{/each}}
|
||||||
|
<span class="tsd-signature-symbol">]: </span>
|
||||||
|
{{#with model.indexSignature.type}}{{>type}}{{/with}}
|
||||||
|
{{/compact}}</div>
|
||||||
|
|
||||||
|
{{#with model.indexSignature}}
|
||||||
|
{{> comment}}
|
||||||
|
{{/with}}
|
||||||
|
|
||||||
|
{{#if model.indexSignature.type.declaration}}
|
||||||
|
{{#with model.indexSignature.type.declaration}}
|
||||||
|
{{> parameter}}
|
||||||
|
{{/with}}
|
||||||
|
{{/if}}
|
||||||
|
</section>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#with model}}
|
||||||
|
{{> index}}
|
||||||
|
{{> members}}
|
||||||
|
{{/with}}
|
||||||
|
Before Width: | Height: | Size: 300 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
@@ -13,7 +13,7 @@ gulp.task('icon-packager', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('deploy', function() {
|
gulp.task('deploy', function() {
|
||||||
fs.copyFileSync(`${__dirname}/dist/icons/Joplin/icons.js`, `${__dirname}/../../../ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/icons.js`);
|
fs.copyFileSync(`${__dirname}/dist/icons/Joplin/icons.js`, `${__dirname}/../../../packages/app-desktop/gui/NoteEditor/NoteBody/TinyMCE/icons.js`);
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -27,7 +27,7 @@ module.exports = function(grunt) {
|
|||||||
// },
|
// },
|
||||||
|
|
||||||
shell: {
|
shell: {
|
||||||
command: 'tsc',
|
command: 'tsc --project tsconfig.json',
|
||||||
},
|
},
|
||||||
|
|
||||||
rollup: {
|
rollup: {
|
||||||
@@ -125,7 +125,7 @@ module.exports = function(grunt) {
|
|||||||
// { src: ['changelog.txt'], dest: 'dist', expand: true },
|
// { src: ['changelog.txt'], dest: 'dist', expand: true },
|
||||||
{
|
{
|
||||||
src: ['dist/joplinLists.js'],
|
src: ['dist/joplinLists.js'],
|
||||||
dest: '../../../ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/plugins/lists.js',
|
dest: '../../../packages/app-desktop/gui/NoteEditor/NoteBody/TinyMCE/plugins/lists.js',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -1,11 +1,13 @@
|
|||||||
# TinyMCE Joplin Lists Plugin
|
# TinyMCE Joplin Lists Plugin
|
||||||
|
|
||||||
|
**As of 2020-11-02 this module no longer builds (a ton of TypeScript errors). No idea why since nothing was changed but should be investigated if modifying this plugin is ever needed.**
|
||||||
|
|
||||||
This is based on https://github.com/tinymce/tinymce/tree/59748a11303fb7cf00fdb8c9392dcb082ee9d965/modules/tinymce/src/plugins/lists
|
This is based on https://github.com/tinymce/tinymce/tree/59748a11303fb7cf00fdb8c9392dcb082ee9d965/modules/tinymce/src/plugins/lists
|
||||||
|
|
||||||
But with support for Joplin checkboxes.
|
But with support for Joplin checkboxes.
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
Use `npm i && npm run build` to build the plugin, which will also copy the compiled version to the right ElectronClient sub-directory.
|
Use `npm i && npm run build` to build the plugin, which will also copy the compiled version to the right packages/app-desktop sub-directory.
|
||||||
|
|
||||||
To test the plugin, use `npm run buildAndStart`, which will build the plugin and start the desktop application.
|
To test the plugin, use `npm run buildAndStart`, which will build the plugin and start the desktop application.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
"test": "bedrock-auto -b phantomjs -d src/test/ts/",
|
"test": "bedrock-auto -b phantomjs -d src/test/ts/",
|
||||||
"test-manual": "bedrock -d src/test/ts/",
|
"test-manual": "bedrock -d src/test/ts/",
|
||||||
"start": "grunt webpack",
|
"start": "grunt webpack",
|
||||||
"buildAndStart": "yarn build && cd .. && cd .. && cd .. && cd ElectronClient && npm start"
|
"buildAndStart": "yarn build && cd .. && cd .. && cd .. && cd packages/app-desktop && npm start"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "Tiny Technologies Inc.",
|
"author": "Tiny Technologies Inc.",
|
||||||
@@ -48,7 +48,7 @@ const listState = function (editor: Editor, listName, options:any = {}) {
|
|||||||
// dependent on how the checkbox is styled, so if the style is changed, this might need
|
// dependent on how the checkbox is styled, so if the style is changed, this might need
|
||||||
// to be updated too.
|
// to be updated too.
|
||||||
// For the styling, see:
|
// For the styling, see:
|
||||||
// ReactNativeClient/lib/joplin-renderer/MdToHtml/rules/checkbox.ts
|
// packages/app-mobile/lib/joplin-renderer/MdToHtml/rules/checkbox.ts
|
||||||
//
|
//
|
||||||
// The previous solution was to use "pointer-event: none", which mostly work, however
|
// The previous solution was to use "pointer-event: none", which mostly work, however
|
||||||
// it means that links are no longer clickable when they are within the checkbox label.
|
// it means that links are no longer clickable when they are within the checkbox label.
|
||||||