全选插件
npm install @ctoweb/plugin-selectallbash
$ yarn add @ctoweb/plugin-selectall
`
添加到引擎
`ts
import Engine, { EngineInterface } from '@ctoweb/engine';
import Selectall from '@ctoweb/plugin-selectall';
new Engine(...,{ plugins:[Selectall] })
`
快捷键
快捷键为 mod+a,不可修改
命令
`ts
//使用 command 执行插件
engine.command.execute('selectall');
``