grapesjs-preset-webpage
grapesjs-preset-webpage copied to clipboard
Body Element is missing class="gjs-dashed"
Dashed outlines are missing
It's strange. I have the same problem.
I fixed this by a piece of code.
const frame = document.getElementsByClassName('gjs-frame')[0]
frame.contentDocument.body.classList.add('gjs-dashed')
Place this after the config object definition.
Click this button
Or run:
var pn = editor.Panels;
pn.getButton('options', 'sw-visibility').set('active', 1);
Hello Everyone. How can i remove that dashed lines because i don't want to see that dashed lines by default. Thanks in advance