mirror of
https://github.com/ctxinf/simple-disguise.git
synced 2026-07-22 11:30:25 +00:00
change main class name.
This commit is contained in:
parent
3448374c63
commit
db2bce7594
2 changed files with 3 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ After installing and activating the plugin:
|
|||
Click the button in the sidebar to toggle between disguise mode and normal mode.
|
||||
|
||||
## Not Supported:
|
||||
- Reading view.
|
||||
- Command-based control.
|
||||
- Defining styles in settings (styles can only be adjusted directly by editing the `styles.css` file in the plugin directory).
|
||||
|
||||
|
|
@ -30,5 +31,6 @@ Click the button in the sidebar to toggle between disguise mode and normal mode.
|
|||
安装并开启插件后, 点击侧边栏中的按钮, 控制伪装/恢复正常
|
||||
|
||||
## 不支持:
|
||||
- 阅读视图
|
||||
- 命令方式控制
|
||||
- 在setting中定义样式(只能直接修改插件目录中的styles.css进行样式调整)
|
||||
|
|
|
|||
2
main.ts
2
main.ts
|
|
@ -4,7 +4,7 @@ import { App, ItemView,WorkspaceTabs,WorkspaceLeaf ,Editor, MarkdownView, Markdo
|
|||
|
||||
|
||||
|
||||
export default class MyPlugin extends Plugin {
|
||||
export default class SimpleDisguisePlugin extends Plugin {
|
||||
private styleEnabled: boolean = false;
|
||||
async onload() {
|
||||
console.log('onload')
|
||||
|
|
|
|||
Loading…
Reference in a new issue