We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 667ee45 commit 785cd55Copy full SHA for 785cd55
1 file changed
src/index.ts
@@ -53,16 +53,16 @@ export default class ExamplePluginSimple implements PluginInterface {
53
const selected = ctx.env.selectedText;
54
if (selected && selected.trim() !== '') {
55
// 如果有选中文本,在其后追加问候
56
- ctx.api.sendText(`${selected} — Hello World!`);
+ ctx.api.sendText(`${selected} — ExamplePluginSimply!`);
57
} else {
58
// 否则直接输出
59
- // ctx.api.sendText('Hello World!');
+ // ctx.api.sendText('ExamplePluginSimply!');
60
61
// 否则显示面板
62
ctx.api.hidePanel(['menu'])
63
ctx.api.showPanel(['example-plugin-simple-panel'])
64
}
65
66
- ctx.api.notify('Hello World plugin executed ✅');
+ ctx.api.notify('ExamplePluginSimply plugin executed ✅');
67
68
0 commit comments