Home
Softono

Website Editor

Open source Apache-2.0 JavaScript
35
Stars
9
Forks
0
Issues
1
Watchers
3 years
Last Commit

 About Website Editor

Wonderful drag and drop website builder

Platforms

Web Self-hosted

Languages

JavaScript

Need Help Installing Website Editor?

We provide expert installation service for this software. Our team will install, configure, and secure Website Editor on your server. plans start at just $30.

Website Editor

View on GitHub

VvvebJs

Vvveb

Drag and drop website builder javascript library.
Built with jQuery and Bootstrap 5.

Website | Documentation | Twitter

Live Demo

For a full featured open source CMS using VvvebJs check Vvveb CMS

Using Vvveb landing page template for demo page and Bootstrap 5 sections and blocks.

Features

  • Components and blocks/snippets drag and drop and in page insert.
  • Undo/Redo operations.
  • One or two panels interface.
  • File manager and component hierarchy navigation.
  • Add new page modal with template and folder options.
  • Live code editor with codemirror plugin syntax highlighting.
  • Image upload with example php script included.
  • Page download or export html or save page on server with example php script included.
  • Components/Sections/Blocks list search.
  • Bootstrap 5 components.
  • Media gallery with integrated CC0 image search and server upload support.
  • Image, video and iframe elements resize handles.
  • Elements breadcrumb for easier parent elements selection.
  • Full Google fonts list support for font selection.
  • Youtube, Google maps, Charts.js etc widgets.
  • Optional CKEditor plugin to replace builtin text editor.
  • Zip download plugin to download the page and all assets as zip file.
  • SVG Icon component bundled with hundreds of free icons.
  • Animate on scroll support for page elements.
  • Theme global typography and color pallette editor.

By default the editor comes with Bootstrap 5 and Widgets components and can be extended with any kind of components and inputs.

Install

Clone the repository or download a release then open editor.html

Because of browser iframe security you need to use a webserver such as xampp and open http://localhost/editor.html

To use the image upload or page save feature you need to have php installed.

Scss

To compile scss to css first install gulp

npm i

Then you can run

npm run gulp

or use watch to compile on file change.

npm run gulp watch

Usage

<!-- jquery-->
<script src="https://raw.githubusercontent.com/mars9541/website-editor/master/js/jquery.min.js"></script>
<script src="https://raw.githubusercontent.com/mars9541/website-editor/master/js/jquery.hotkeys.js"></script>

<!-- bootstrap-->
<script src="https://raw.githubusercontent.com/mars9541/website-editor/master/js/popper.min.js"></script>
<script src="https://raw.githubusercontent.com/mars9541/website-editor/master/js/bootstrap.min.js"></script>

<!-- builder code-->
<script src="https://raw.githubusercontent.com/mars9541/website-editor/master/libs/builder/builder.js"></script>	
<!-- undo manager-->
<script src="https://raw.githubusercontent.com/mars9541/website-editor/master/libs/builder/undo.js"></script>	
<!-- inputs-->
<script src="https://raw.githubusercontent.com/mars9541/website-editor/master/libs/builder/inputs.js"></script>	
<!-- components-->
<script src="https://raw.githubusercontent.com/mars9541/website-editor/master/libs/builder/components-bootstrap5.js"></script>	
<script src="https://raw.githubusercontent.com/mars9541/website-editor/master/libs/builder/components-widgets.js"></script>	

<script>
let pages = [
 {
	name:"narrow-jumbotron", 
	title:"Jumbotron", 
	url: "demo/narrow-jumbotron/index.html", 
	file: "demo/narrow-jumbotron/index.html"
  },
  {name:"landing-page", title:"Landing page", url: "demo/landing/index.html", file: "demo/landing/index.html"},
];
	
$(function() {

	let firstPage = Object.keys(pages)[0];
	Vvveb.Builder.init(pages[firstPage]["url"], function() {
		//load code after page is loaded here
	});

	Vvveb.Gui.init();
	Vvveb.FileManager.init();
	Vvveb.SectionList.init();
	Vvveb.Breadcrumb.init();
	
	Vvveb.FileManager.addPages(pages);
	Vvveb.FileManager.loadPage(pages[firstPage]["name"]);
	Vvveb.Breadcrumb.init();

	//if url has #no-right-panel set one panel demo
	if (window.location.hash.indexOf("no-right-panel") != -1) {
		Vvveb.Gui.toggleRightColumn();
	}
});
<script>

For editor html and components/input javascript templates edit editor.html

For css changes edit scss/editor.scss and scss/_builder.scss

Documentation

For documentation check the wiki

License

Apache 2.0