VvvebJs
VvvebJs copied to clipboard
Start the editor with a blank page without loading a file
I'm using a PHP framework, is there an option to load a blank page when starting the editor instead of starting with a ready page?
Load the page with javascript when needed.
Hi
You can use about:none to load a really blank page
Vvveb.Builder.init('about:none', function() {
});
But I recommend using a basic html template like blank.html that has all the basic tags like <head><body>
etc because not all browsers will fill all the missing basic elements and this can lead to all kind of issues.
Also the editor comes with bootstrap components that will need bootstrap.css to be loaded in the edited page to work, you will need to remove boostrap components if the css is not loaded in the page.
You can use the included new-page-blank-template.html
as a base to customize your own blank.html.