@fresh-editor/fresh-editor 0.1.77 → 0.1.86

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.
@@ -8,21 +8,20 @@ const editor = getEditor();
8
8
  */
9
9
 
10
10
  // Show welcome message in status bar
11
- editor.setStatus(editor.t("status.loaded"));
12
11
 
13
12
  // Register commands that use built-in actions
14
13
  editor.registerCommand(
15
14
  "%cmd.open_help",
16
15
  "%cmd.open_help_desc",
17
16
  "show_help",
18
- "normal"
17
+ null
19
18
  );
20
19
 
21
20
  editor.registerCommand(
22
21
  "%cmd.save_file",
23
22
  "%cmd.save_file_desc",
24
23
  "save",
25
- "normal"
24
+ null
26
25
  );
27
26
 
28
27
  // Register commands with custom TypeScript callbacks
@@ -36,7 +35,7 @@ editor.registerCommand(
36
35
  "%cmd.say_hello",
37
36
  "%cmd.say_hello_desc",
38
37
  "plugin_say_hello",
39
- "normal"
38
+ null
40
39
  );
41
40
 
42
41
  globalThis.plugin_insert_time = function(): void {
@@ -50,7 +49,7 @@ editor.registerCommand(
50
49
  "%cmd.insert_time",
51
50
  "%cmd.insert_time_desc",
52
51
  "plugin_insert_time",
53
- "normal"
52
+ null
54
53
  );
55
54
 
56
55
  globalThis.plugin_insert_comment = function(): void {
@@ -63,7 +62,7 @@ editor.registerCommand(
63
62
  "%cmd.insert_comment",
64
63
  "%cmd.insert_comment_desc",
65
64
  "plugin_insert_comment",
66
- "normal"
65
+ null
67
66
  );
68
67
 
69
68
  // Debug output