1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-17 18:44:45 +02:00
joplin/packages/app-desktop
Caleb John 7a9ec627ee
Desktop: Resolves #5233: Fire resize event whenever the layout changes (#5344)
* Fire resize event whenever the layout changes

This solves an issue where the markdown editor was changing size
physically, but the refresh function wasn't being called so the
editor would lose track of it's size and place the cursor wrongly.
The editor was able to correctly resize when the window resize event
was fired, but this didn't happen when the sidebars were toggled.
The solution implemented here is to hook in to the function where
layout props are changed, and emit a resize event there.
This means that anytime the layout changes (whether or not it affects
sizing), the resize event will be fired.
2021-09-19 11:36:23 +01:00
..
build Desktop: Add Sync Wizard dialog 2021-08-16 15:20:14 +01:00
build-mac macOS: Notarize application 2020-11-29 17:15:42 +00:00
build-win All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
commands Chore: Moved app state to separate file 2021-09-04 18:11:29 +01:00
gui Desktop: Resolves #5233: Fire resize event whenever the layout changes (#5344) 2021-09-19 11:36:23 +01:00
locales All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
plugins Chore: Moved app state to separate file 2021-09-04 18:11:29 +01:00
services Chore: Moved app state to separate file 2021-09-04 18:11:29 +01:00
style/icons All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
tools Tools: Exit with error code 1 when macOS notarization fails 2021-06-23 15:27:06 +01:00
utils Desktop: Pass custom CSS property to all export handlers and renderers 2021-05-19 15:00:16 +02:00
.gitignore Tools: Fixed desktop test scripts 2021-08-12 17:25:19 +01:00
app.reducer.test.ts Chore: Moved app state to separate file 2021-09-04 18:11:29 +01:00
app.reducer.ts Chore: Moved app state to separate file 2021-09-04 18:11:29 +01:00
app.ts Chore: Moved app state to separate file 2021-09-04 18:11:29 +01:00
bridge.ts Desktop: Added button to skip an application update 2021-05-14 11:29:06 +02:00
checkForUpdates.ts Desktop: Added button to skip an application update 2021-05-14 11:29:06 +02:00
ElectronAppWrapper.ts Desktop: Load themes as CSS variables for use in custom themes and internal components 2021-09-06 16:57:07 +01:00
generateSha512.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
global.d.ts All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
gulpfile.js Tools: Added script to compile SASS files 2021-09-12 16:35:08 +01:00
index.html Mobile, Desktop: Fixes #3991: Added RTL support for Markdown editor and Preview. (#4822) 2021-04-30 16:03:03 +01:00
InteropServiceHelper.ts Desktop: Pass custom CSS property to all export handlers and renderers 2021-05-19 15:00:16 +02:00
jest.config.js Desktop: Fixes #4669: Copying code block from Rich Text editor results in two copies of the text 2021-04-11 19:01:06 +02:00
main-html.js Chore: Moved EncryptionService under e2ee directory 2021-08-23 18:47:07 +01:00
main.js Revert "Merge branch 'desktop-protocol' of https://github.com/roman-r-m/joplin into dev" 2021-09-03 15:03:17 +01:00
package-lock.json Tools: Upgrade back package-lock files to v2 2021-09-12 16:34:03 +01:00
package.json Desktop release v2.4.6 2021-09-09 19:25:54 +01:00
README.md Tools: Renamed package namespace from @joplinapp to @joplin 2020-11-07 15:59:37 +00:00
runForTesting.sh Tools: Fixed desktop test scripts 2021-08-12 17:25:19 +01:00
style.css Desktop: Load themes as CSS variables for use in custom themes and internal components 2021-09-06 16:57:07 +01:00
style.min.css Tools: Added script to compile SASS files 2021-09-12 16:35:08 +01:00
testPluginDemo.sh Plugins: Add support for loading application chrome and note CSS from the plugin 2021-07-23 11:05:21 +01:00
tsconfig.json All: Fix sorting by title in a case insensitive way 2020-11-27 15:16:50 +00:00

@joplin/app-desktop

TODO: description

Usage

const appDesktop = require('@joplin/app-desktop');

// TODO: DEMONSTRATE API