@meowdown/core 0.76.0 → 0.77.0

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/README.md CHANGED
@@ -44,35 +44,35 @@ const markdown = docToMarkdown(editor.state.doc)
44
44
  the literal Markdown delimiters around the selection; heading shortcuts toggle
45
45
  the current block to that level (or back to a paragraph).
46
46
 
47
- | Key | Action | Markdown |
48
- | ---------------------- | --------------------------------------------------------- | ------------------- |
49
- | `Mod-B` | Bold | `**bold**` |
50
- | `Mod-I` | Italic | `*italic*` |
51
- | `Mod-E` | Inline code | `` `code` `` |
52
- | `Mod-Shift-X` | Strikethrough | `~~strikethrough~~` |
53
- | `Mod-Shift-H` | Highlight | `==highlight==` |
54
- | `Mod-K` | Link | `[text](url)` |
55
- | `Mod-Shift-K` | Insert a wikilink | `[[target]]` |
56
- | `Mod-Alt-1` | Heading 1 | `# heading` |
57
- | `Mod-Alt-2` | Heading 2 | `## heading` |
58
- | `Mod-Alt-3` | Heading 3 | `### heading` |
59
- | `Mod-Alt-4` | Heading 4 | `#### heading` |
60
- | `Mod-Alt-5` | Heading 5 | `##### heading` |
61
- | `Mod-Alt-6` | Heading 6 | `###### heading` |
62
- | `Mod-.` | Fold or unfold a bullet | |
63
- | `Shift-Enter` | Insert a line break | |
64
- | `Mod-Enter` | Follow the link under the caret, or cycle a checkbox task | `- [ ]` / `- [x]` |
65
- | `Mod-Shift-Enter` | Cycle a circle checkbox task | `+ [ ]` / `+ [x]` |
66
- | `Mod-Shift-7` | Ordered list | `1. item` |
67
- | `Mod-Shift-8` | Bullet list | `- item` |
68
- | `Mod-Shift-9` | Checkbox task list | `- [ ] item` |
69
- | `Alt-ArrowUp` | Move the block or list item up | |
70
- | `Alt-ArrowDown` | Move the block or list item down | |
71
- | `Meta-ArrowUp` | Move the caret to the document start | |
72
- | `Meta-ArrowDown` | Move the caret to the document end | |
73
- | `Shift-Meta-ArrowUp` | Select to the document start | |
74
- | `Shift-Meta-ArrowDown` | Select to the document end | |
75
- | `Escape` | Collapse the selection | |
47
+ | Key | Action | Markdown |
48
+ | --------------------- | --------------------------------------------------------- | ------------------- |
49
+ | `Mod-B` | Bold | `**bold**` |
50
+ | `Mod-I` | Italic | `*italic*` |
51
+ | `Mod-E` | Inline code | `` `code` `` |
52
+ | `Mod-Shift-X` | Strikethrough | `~~strikethrough~~` |
53
+ | `Mod-Shift-H` | Highlight | `==highlight==` |
54
+ | `Mod-K` | Link | `[text](url)` |
55
+ | `Mod-Shift-K` | Insert a wikilink | `[[target]]` |
56
+ | `Mod-Alt-1` | Heading 1 | `# heading` |
57
+ | `Mod-Alt-2` | Heading 2 | `## heading` |
58
+ | `Mod-Alt-3` | Heading 3 | `### heading` |
59
+ | `Mod-Alt-4` | Heading 4 | `#### heading` |
60
+ | `Mod-Alt-5` | Heading 5 | `##### heading` |
61
+ | `Mod-Alt-6` | Heading 6 | `###### heading` |
62
+ | `Mod-.` | Fold or unfold a bullet | |
63
+ | `Shift-Enter` | Insert a line break | |
64
+ | `Mod-Enter` | Follow the link under the caret, or cycle a checkbox task | `- [ ]` / `- [x]` |
65
+ | `Mod-Shift-Enter` | Cycle a circle checkbox task | `+ [ ]` / `+ [x]` |
66
+ | `Mod-Shift-7` | Ordered list | `1. item` |
67
+ | `Mod-Shift-8` | Bullet list | `- item` |
68
+ | `Mod-Shift-9` | Checkbox task list | `- [ ] item` |
69
+ | `Alt-ArrowUp` | Move the block or list item up | |
70
+ | `Alt-ArrowDown` | Move the block or list item down | |
71
+ | `Mod-ArrowUp` | Move the caret to the document start | |
72
+ | `Mod-ArrowDown` | Move the caret to the document end | |
73
+ | `Mod-Shift-ArrowUp` | Select to the document start | |
74
+ | `Mod-Shift-ArrowDown` | Select to the document end | |
75
+ | `Escape` | Collapse the selection | |
76
76
 
77
77
  `Mod-Shift-7/8/9` wrap the current block, convert a list of a different kind in
78
78
  place, and unwrap a list of the same kind back to a paragraph. `Alt-ArrowUp` /
package/dist/index.d.ts CHANGED
@@ -1461,10 +1461,10 @@ export declare const EDITOR_KEY_BINDINGS: {
1461
1461
  readonly 'Mod-Shift-9': "Checkbox task list";
1462
1462
  readonly 'Alt-ArrowUp': "Move the block or list item up";
1463
1463
  readonly 'Alt-ArrowDown': "Move the block or list item down";
1464
- readonly 'Meta-ArrowUp': "Move the caret to the document start";
1465
- readonly 'Meta-ArrowDown': "Move the caret to the document end";
1466
- readonly 'Shift-Meta-ArrowUp': "Select to the document start";
1467
- readonly 'Shift-Meta-ArrowDown': "Select to the document end";
1464
+ readonly 'Mod-ArrowUp': "Move the caret to the document start";
1465
+ readonly 'Mod-ArrowDown': "Move the caret to the document end";
1466
+ readonly 'Mod-Shift-ArrowUp': "Select to the document start";
1467
+ readonly 'Mod-Shift-ArrowDown': "Select to the document end";
1468
1468
  readonly Escape: "Collapse the selection";
1469
1469
  };
1470
1470
  //#endregion
package/dist/index.js CHANGED
@@ -7428,7 +7428,7 @@ function selectDocBoundary(direction, extend) {
7428
7428
  };
7429
7429
  }
7430
7430
  /**
7431
- * Binds the macOS document-boundary motions (`Meta-ArrowUp` / `Meta-ArrowDown`
7431
+ * Binds the document-boundary motions (`Mod-ArrowUp` / `Mod-ArrowDown`
7432
7432
  * move the caret to the document start / end; the Shift variants extend the
7433
7433
  * selection there). Bound explicitly instead of relying on the browser's
7434
7434
  * native handling: WebKit gives up the native move when the document starts
@@ -7438,10 +7438,10 @@ function selectDocBoundary(direction, extend) {
7438
7438
  */
7439
7439
  function defineSelectDocBoundary() {
7440
7440
  return defineKeymap({
7441
- "Meta-ArrowUp": selectDocBoundary(-1, false),
7442
- "Meta-ArrowDown": selectDocBoundary(1, false),
7443
- "Shift-Meta-ArrowUp": selectDocBoundary(-1, true),
7444
- "Shift-Meta-ArrowDown": selectDocBoundary(1, true)
7441
+ "Mod-ArrowUp": selectDocBoundary(-1, false),
7442
+ "Mod-ArrowDown": selectDocBoundary(1, false),
7443
+ "Mod-Shift-ArrowUp": selectDocBoundary(-1, true),
7444
+ "Mod-Shift-ArrowDown": selectDocBoundary(1, true)
7445
7445
  });
7446
7446
  }
7447
7447
 
@@ -8588,10 +8588,10 @@ const EDITOR_KEY_BINDINGS = {
8588
8588
  "Mod-Shift-9": "Checkbox task list",
8589
8589
  "Alt-ArrowUp": "Move the block or list item up",
8590
8590
  "Alt-ArrowDown": "Move the block or list item down",
8591
- "Meta-ArrowUp": "Move the caret to the document start",
8592
- "Meta-ArrowDown": "Move the caret to the document end",
8593
- "Shift-Meta-ArrowUp": "Select to the document start",
8594
- "Shift-Meta-ArrowDown": "Select to the document end",
8591
+ "Mod-ArrowUp": "Move the caret to the document start",
8592
+ "Mod-ArrowDown": "Move the caret to the document end",
8593
+ "Mod-Shift-ArrowUp": "Select to the document start",
8594
+ "Mod-Shift-ArrowDown": "Select to the document end",
8595
8595
  Escape: "Collapse the selection"
8596
8596
  };
8597
8597
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meowdown/core",
3
3
  "type": "module",
4
- "version": "0.76.0",
4
+ "version": "0.77.0",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",