We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76fa208 commit 667ee45Copy full SHA for 667ee45
1 file changed
src/index.ts
@@ -42,11 +42,11 @@ export default class ExamplePluginSimple implements PluginInterface {
42
// 注册面板示例
43
if (!cache_ctx) {
44
cache_ctx = ctx
45
- const newPanel = document.createElement('div'); newPanel.innerText = 'New Panel Content';
46
- ctx.api.registerSubPanel({
47
- id: 'example-plugin-simple-panel',
48
- el: newPanel
49
- })
+ const newPanel = document.createElement('div'); newPanel.innerText = 'New Panel Content';
+ ctx.api.registerSubPanel({
+ id: 'example-plugin-simple-panel',
+ el: newPanel
+ })
50
}
51
52
// 文本输出示例
0 commit comments