-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from benji300/release-1.4
Release v1.4.0
- Loading branch information
Showing
32 changed files
with
668 additions
and
5,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import Plugin from '../Plugin'; | ||
import Joplin from './Joplin'; | ||
/** | ||
* @ignore | ||
*/ | ||
/** | ||
* @ignore | ||
*/ | ||
export default class Global { | ||
private joplin_; | ||
private requireWhiteList_; | ||
constructor(implementation: any, plugin: Plugin, store: any); | ||
get joplin(): Joplin; | ||
private requireWhiteList; | ||
require(filePath: string): any; | ||
get process(): any; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export default class JoplinClipboard { | ||
private electronClipboard_; | ||
private electronNativeImage_; | ||
constructor(electronClipboard: any, electronNativeImage: any); | ||
readText(): Promise<string>; | ||
writeText(text: string): Promise<void>; | ||
readHtml(): Promise<string>; | ||
writeHtml(html: string): Promise<void>; | ||
/** | ||
* Returns the image in [data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) format. | ||
*/ | ||
readImage(): Promise<string>; | ||
/** | ||
* Takes an image in [data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) format. | ||
*/ | ||
writeImage(dataUrl: string): Promise<void>; | ||
/** | ||
* Returns the list available formats (mime types). | ||
* | ||
* For example [ 'text/plain', 'text/html' ] | ||
*/ | ||
availableFormats(): Promise<string[]>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import Plugin from '../Plugin'; | ||
export interface Implementation { | ||
injectCustomStyles(elementId: string, cssFilePath: string): Promise<void>; | ||
} | ||
export default class JoplinWindow { | ||
private plugin_; | ||
private store_; | ||
private implementation_; | ||
constructor(implementation: Implementation, plugin: Plugin, store: any); | ||
/** | ||
* Loads a chrome CSS file. It will apply to the window UI elements, except | ||
* for the note viewer. It is the same as the "Custom stylesheet for | ||
* Joplin-wide app styles" setting. See the [Load CSS Demo](https://github.com/laurent22/joplin/tree/dev/packages/app-cli/tests/support/plugins/load_css) | ||
* for an example. | ||
*/ | ||
loadChromeCssFile(filePath: string): Promise<void>; | ||
/** | ||
* Loads a note CSS file. It will apply to the note viewer, as well as any | ||
* exported or printed note. It is the same as the "Custom stylesheet for | ||
* rendered Markdown" setting. See the [Load CSS Demo](https://github.com/laurent22/joplin/tree/dev/packages/app-cli/tests/support/plugins/load_css) | ||
* for an example. | ||
*/ | ||
loadNoteCssFile(filePath: string): Promise<void>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.