mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
Remove plugin id from command ids
This commit is contained in:
parent
946b4bfa38
commit
a4eb6d686d
1 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ export default class CopilotPlugin extends Plugin {
|
|||
);
|
||||
|
||||
this.addCommand({
|
||||
id: 'copilot-chat-toggle-window',
|
||||
id: 'chat-toggle-window',
|
||||
name: 'Toggle Copilot Chat Window',
|
||||
callback: () => {
|
||||
this.toggleView();
|
||||
|
|
@ -44,7 +44,7 @@ export default class CopilotPlugin extends Plugin {
|
|||
});
|
||||
|
||||
this.addCommand({
|
||||
id: 'copilot-simplify-prompt',
|
||||
id: 'simplify-prompt',
|
||||
name: 'Simplify selection',
|
||||
editorCallback: (editor: Editor) => {
|
||||
this.processSelection(editor, 'simplifySelection');
|
||||
|
|
@ -52,7 +52,7 @@ export default class CopilotPlugin extends Plugin {
|
|||
});
|
||||
|
||||
this.addCommand({
|
||||
id: 'copilot-emojify-prompt',
|
||||
id: 'emojify-prompt',
|
||||
name: 'Emojify selection',
|
||||
editorCallback: (editor: Editor) => {
|
||||
this.processSelection(editor, 'emojifySelection');
|
||||
|
|
|
|||
Loading…
Reference in a new issue