tiny-markdown-editor 0.1.24 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/globals.d.ts +3 -1
  2. package/package.json +1 -1
package/globals.d.ts CHANGED
@@ -50,6 +50,8 @@ declare module "tiny-markdown-editor" {
50
50
 
51
51
  public getContent(): string;
52
52
 
53
+ public setContent(content: string): void;
54
+
53
55
  public getSelection(getAnchor: boolean): CursorPosition | null;
54
56
 
55
57
  public setSelection(
@@ -157,7 +159,7 @@ declare module "tiny-markdown-editor" {
157
159
  name: CommandBarCommandName | string;
158
160
  title?: string | undefined;
159
161
  innerHTML?: string;
160
- action?: EditorCommandName | ((editor: Editor) => void);
162
+ action?: EditorCommandName | ((editor: Editor) => void);
161
163
  hotkey?: HotKey;
162
164
  };
163
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-markdown-editor",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "TinyMDE: A tiny, ultra low dependency, embeddable HTML/JavaScript Markdown editor.",
5
5
  "main": "lib/index.js",
6
6
  "files": [