Ju99ernaut / grapesjs-rulers

Rulers and guides for grapesjs designer mode
MIT License
37 stars 14 forks source link

auto start can......... #2

Closed Jupiters closed 3 years ago

Jupiters commented 3 years ago

i'm search sample code in

editor.runCommand("ruler-visibility");

script insert after...ok...

Ju99ernaut commented 3 years ago

Yeah you can use:

// to show rulers 
editor.runCommand('ruler-visibility');

// to hide rulers
editor.stopCommand('ruler-visibility');