tiny-markdown-editor 0.2.16 → 0.2.17

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.
package/lib/TinyMDE.d.ts CHANGED
@@ -89,7 +89,7 @@ export declare class Editor {
89
89
  private handleSelectionChangeEvent;
90
90
  private handlePaste;
91
91
  private handleDrop;
92
- private processInlineStyles;
92
+ processInlineStyles(originalString: string): string;
93
93
  private computeColumn;
94
94
  private computeNodeAndOffset;
95
95
  private updateLineContentsAndFormatting;
@@ -97,7 +97,10 @@ export declare class Editor {
97
97
  private updateLineContents;
98
98
  private spliceLines;
99
99
  private fixNodeHierarchy;
100
- private parseLinkOrImage;
100
+ parseLinkOrImage(originalString: string, isImage: boolean): {
101
+ output: string;
102
+ charCount: number;
103
+ } | false;
101
104
  private computeCommonAncestor;
102
105
  private computeEnclosingMarkupNode;
103
106
  getCommandState(focus?: Position | null, anchor?: Position | null): Record<string, boolean | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-markdown-editor",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "description": "TinyMDE: A tiny, ultra low dependency, embeddable HTML/JavaScript Markdown editor.",
5
5
  "main": "lib/index.js",
6
6
  "files": [