Repository: givanz/VvvebJs Branch: master Commit: 1b774684044f Files: 291 Total size: 33.1 MB Directory structure: gitextract_mj6sw9pv/ ├── .dockerignore ├── .gitattributes ├── .github/ │ ├── FUNDING.yml │ ├── lock.yml │ └── no-response.yml ├── .gitignore ├── .gitmodules ├── Credits.md ├── Dockerfile ├── LICENSE ├── README.md ├── css/ │ ├── editor.css │ └── vvvebjs-editor-helpers.css ├── demo/ │ ├── album/ │ │ └── index.html │ ├── blog/ │ │ ├── blog.css │ │ └── index.html │ ├── carousel/ │ │ ├── carousel.css │ │ └── index.html │ ├── narrow-jumbotron/ │ │ ├── index.html │ │ └── narrow-jumbotron.css │ ├── offcanvas/ │ │ ├── index.html │ │ ├── offcanvas.css │ │ └── offcanvas.js │ ├── pricing/ │ │ ├── index.html │ │ └── pricing.css │ └── product/ │ ├── index.html │ └── product.css ├── docker-compose.yml ├── editor.html ├── editor.php ├── gulpfile.js ├── libs/ │ ├── aos/ │ │ ├── aos.css │ │ └── aos.js │ ├── autocomplete/ │ │ └── autocomplete.js │ ├── builder/ │ │ ├── blocks-bootstrap4.js │ │ ├── builder.js │ │ ├── components-bootstrap4.js │ │ ├── components-bootstrap5.js │ │ ├── components-common.js │ │ ├── components-elements.js │ │ ├── components-embeds.js │ │ ├── components-html.js │ │ ├── components-server.js │ │ ├── components-widgets.js │ │ ├── inputs.js │ │ ├── oembed.js │ │ ├── plugin-ai-assistant.js │ │ ├── plugin-aos.js │ │ ├── plugin-bootstrap-colorpicker.js │ │ ├── plugin-ckeditor.js │ │ ├── plugin-codemirror.js │ │ ├── plugin-coloris.js │ │ ├── plugin-google-fonts.js │ │ ├── plugin-jszip.js │ │ ├── plugin-media.js │ │ ├── plugin-tinymce.js │ │ ├── section.js │ │ ├── sections-bootstrap4.js │ │ └── undo.js │ ├── codemirror/ │ │ ├── lib/ │ │ │ ├── clike.js │ │ │ ├── codemirror.css │ │ │ ├── codemirror.js │ │ │ ├── css.js │ │ │ ├── formatting.js │ │ │ ├── htmlmixed.js │ │ │ ├── search.js │ │ │ ├── searchcursor.js │ │ │ └── xml.js │ │ └── theme/ │ │ ├── duotone-dark.css │ │ └── material.css │ ├── coloris/ │ │ ├── coloris.css │ │ └── coloris.js │ ├── jszip/ │ │ ├── filesaver.js │ │ └── jszip.js │ └── media/ │ ├── media.css │ ├── media.js │ └── openverse.js ├── media/ │ └── sample.webm ├── new-page-blank-template.html ├── package.json ├── resources/ │ ├── google-fonts.json │ ├── line-awesome.html │ └── svg/ │ ├── icons/ │ │ ├── 150-outlined-icons/ │ │ │ ├── index.html │ │ │ └── readme.txt │ │ ├── 77_essential_icons/ │ │ │ ├── index.html │ │ │ └── readme.txt │ │ ├── ant-design-icons/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── boxicons/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── clarity-icons/ │ │ │ ├── LICENSE │ │ │ ├── NOTICE.txt │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── coreui-icons/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── css.gg/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── dripicons/ │ │ │ ├── LICENSE │ │ │ ├── index.html │ │ │ └── readme.txt │ │ ├── elegant-font/ │ │ │ ├── gpl_license.txt │ │ │ ├── index.html │ │ │ └── mit_license.txt │ │ ├── eva-icons/ │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── feather/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── font-awesome/ │ │ │ ├── LICENSE.txt │ │ │ └── index.html │ │ ├── heroicons/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── iconoir/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── iconsax/ │ │ │ ├── index.html │ │ │ └── license.txt │ │ ├── ikonate/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── ionicons/ │ │ │ ├── LICENSE │ │ │ ├── index.html │ │ │ └── readme.md │ │ ├── jam-icons/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── linea/ │ │ │ ├── index.html │ │ │ ├── read_me.txt │ │ │ └── style.css │ │ ├── lineawesome/ │ │ │ ├── LICENSE.txt │ │ │ └── index.html │ │ ├── material-design/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── octicons/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── olicons/ │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── open-iconic/ │ │ │ ├── ICON-LICENSE │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── pe-icon-7-stroke/ │ │ │ ├── index.html │ │ │ └── read-me.txt │ │ ├── remix-icon/ │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── system-uicons/ │ │ │ ├── LICENSE │ │ │ └── index.html │ │ ├── tabler-icons/ │ │ │ ├── LICENSE │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ └── index.html │ │ ├── themify/ │ │ │ ├── index.html │ │ │ └── readme.txt │ │ └── unicons/ │ │ ├── LICENSE │ │ ├── README.md │ │ └── index.html │ └── separators/ │ └── digital-red-panther/ │ └── index.html ├── save.js ├── save.php ├── scan.php ├── scss/ │ ├── _autocomplete.scss │ ├── _bootstrap-css-vars.scss │ ├── _builder.scss │ ├── _csstree.scss │ ├── bootstrap/ │ │ ├── _accordion.scss │ │ ├── _alert.scss │ │ ├── _badge.scss │ │ ├── _breadcrumb.scss │ │ ├── _button-group.scss │ │ ├── _buttons.scss │ │ ├── _card.scss │ │ ├── _carousel.scss │ │ ├── _close.scss │ │ ├── _containers.scss │ │ ├── _dropdown.scss │ │ ├── _forms.scss │ │ ├── _functions.scss │ │ ├── _grid.scss │ │ ├── _helpers.scss │ │ ├── _images.scss │ │ ├── _list-group.scss │ │ ├── _maps.scss │ │ ├── _mixins.scss │ │ ├── _modal.scss │ │ ├── _nav.scss │ │ ├── _navbar.scss │ │ ├── _offcanvas.scss │ │ ├── _pagination.scss │ │ ├── _placeholders.scss │ │ ├── _popover.scss │ │ ├── _progress.scss │ │ ├── _reboot.scss │ │ ├── _root.scss │ │ ├── _spinners.scss │ │ ├── _tables.scss │ │ ├── _toasts.scss │ │ ├── _tooltip.scss │ │ ├── _transitions.scss │ │ ├── _type.scss │ │ ├── _utilities.scss │ │ ├── _variables-dark.scss │ │ ├── _variables.scss │ │ ├── bootstrap-grid.scss │ │ ├── bootstrap-reboot.scss │ │ ├── bootstrap-utilities.scss │ │ ├── bootstrap.scss │ │ ├── forms/ │ │ │ ├── _floating-labels.scss │ │ │ ├── _form-check.scss │ │ │ ├── _form-control.scss │ │ │ ├── _form-range.scss │ │ │ ├── _form-select.scss │ │ │ ├── _form-text.scss │ │ │ ├── _input-group.scss │ │ │ ├── _labels.scss │ │ │ └── _validation.scss │ │ ├── helpers/ │ │ │ ├── _clearfix.scss │ │ │ ├── _color-bg.scss │ │ │ ├── _colored-links.scss │ │ │ ├── _focus-ring.scss │ │ │ ├── _icon-link.scss │ │ │ ├── _position.scss │ │ │ ├── _ratio.scss │ │ │ ├── _stacks.scss │ │ │ ├── _stretched-link.scss │ │ │ ├── _text-truncation.scss │ │ │ ├── _visually-hidden.scss │ │ │ └── _vr.scss │ │ ├── mixins/ │ │ │ ├── _alert.scss │ │ │ ├── _backdrop.scss │ │ │ ├── _banner.scss │ │ │ ├── _border-radius.scss │ │ │ ├── _box-shadow.scss │ │ │ ├── _breakpoints.scss │ │ │ ├── _buttons.scss │ │ │ ├── _caret.scss │ │ │ ├── _clearfix.scss │ │ │ ├── _color-mode.scss │ │ │ ├── _color-scheme.scss │ │ │ ├── _container.scss │ │ │ ├── _deprecate.scss │ │ │ ├── _forms.scss │ │ │ ├── _gradients.scss │ │ │ ├── _grid.scss │ │ │ ├── _image.scss │ │ │ ├── _list-group.scss │ │ │ ├── _lists.scss │ │ │ ├── _pagination.scss │ │ │ ├── _reset-text.scss │ │ │ ├── _resize.scss │ │ │ ├── _table-variants.scss │ │ │ ├── _text-truncate.scss │ │ │ ├── _transition.scss │ │ │ ├── _utilities.scss │ │ │ └── _visually-hidden.scss │ │ ├── tests/ │ │ │ ├── jasmine.js │ │ │ ├── mixins/ │ │ │ │ ├── _auto-import-of-variables-dark.test.scss │ │ │ │ ├── _color-modes.test.scss │ │ │ │ ├── _media-query-color-mode-full.test.scss │ │ │ │ └── _utilities.test.scss │ │ │ ├── sass-true/ │ │ │ │ ├── register.js │ │ │ │ └── runner.js │ │ │ └── utilities/ │ │ │ └── _api.test.scss │ │ ├── utilities/ │ │ │ └── _api.scss │ │ └── vendor/ │ │ └── _rfs.scss │ ├── components/ │ │ └── gallery.scss │ ├── editor.scss │ ├── ionicons.css │ ├── line-awesome/ │ │ ├── _bordered_pulled.scss │ │ ├── _core.scss │ │ ├── _fixed-width.scss │ │ ├── _icons.scss │ │ ├── _larger.scss │ │ ├── _list.scss │ │ ├── _mixins.scss │ │ ├── _path.scss │ │ ├── _rotated-flipped.scss │ │ ├── _screen-reader.scss │ │ ├── _stacked.scss │ │ ├── _variables.scss │ │ ├── dist/ │ │ │ └── line-awesome/ │ │ │ └── css/ │ │ │ └── line-awesome.css │ │ └── line-awesome.scss │ └── vvvebjs-editor-helpers.scss └── upload.php ================================================ FILE CONTENTS ================================================ ================================================ FILE: .dockerignore ================================================ * ================================================ FILE: .gitattributes ================================================ * linguist-vendored *.js linguist-vendored=false ================================================ FILE: .github/FUNDING.yml ================================================ # These are supported funding model platforms custom: https://paypal.me/zgivan open_collective: vvvebjs ================================================ FILE: .github/lock.yml ================================================ # Configuration for Lock Threads - https://github.com/dessant/lock-threads # Number of days of inactivity before a closed issue or pull request is locked daysUntilLock: 365 # Skip issues and pull requests created before a given timestamp. Timestamp must # follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable skipCreatedBefore: false # Issues and pull requests with these labels will be ignored. Set to `[]` to disable exemptLabels: - no-locking - help-wanted # Label to add before locking, such as `outdated`. Set to `false` to disable lockLabel: outdated # Comment to post before locking. Set to `false` to disable lockComment: > This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. # Assign `resolved` as the reason for locking. Set to `false` to disable setLockReason: true # Limit to only `issues` or `pulls` # only: issues # Optionally, specify configuration settings just for `issues` or `pulls` # issues: # exemptLabels: # - help-wanted # lockLabel: outdated # pulls: # daysUntilLock: 30 # Repository to extend settings from # _extends: repo ================================================ FILE: .github/no-response.yml ================================================ # Configuration for probot-no-response - https://github.com/probot/no-response # Number of days of inactivity before an Issue is closed for lack of response daysUntilClose: 10 # Label requiring a response responseRequiredLabel: more-information-needed # Comment to post when closing an Issue for lack of response. Set to `false` to disable closeComment: > This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. ================================================ FILE: .gitignore ================================================ node_modules *.css.map *.js.map ================================================ FILE: .gitmodules ================================================ [submodule "demo/landing"] path = demo/landing url = https://github.com/givanz/landing ================================================ FILE: Credits.md ================================================ # Credits ## SVG icons * Eva Icons - MIT License - https://github.com/akveo/eva-icons * IonIcons - MIT license - https://ionic.io/ionicons * Freebiesbug - CC BY - https://freebiesbug.com/psd-freebies/150-free-outlined-icons-psd-ai-svg-webfont/ * Line Awesome - MIT license - https://icons8.com/line-awesome * 77 Essential Icons - CC BY 4.0 - https://dribbble.com/shots/1934932-77-Essential-Icons-Free-Download * Dripicons - CC BY 4.0 - https://github.com/amitjakhu/dripicons * Themify Icons - MIT License - https://themify.me/themify-icons * Feather - MIT License - https://github.com/feathericons/feather * Boxicons - MIT License - https://boxicons.com/ * Linea - CC BY 4.0 - https://www.linea.is/ * Core UI - CC BY 4.0 - https://github.com/coreui/coreui-icons * Open Iconic - MIT License - https://useiconic.com/open/ * Font Awesome - CC BY 4.0 https://github.com/FortAwesome/Font-Awesome * Elegant Icon Font - MIT License - https://www.elegantthemes.com/blog/resources/elegant-icon-font * Material Design - Apache 2.0 - https://github.com/Templarian/MaterialDesign * RemixIcon - Apache 2.0 License -https://github.com/Iconscout/unicons * Unicons - Apache 2.0 License -https://github.com/Remix-Design/remixicon * clarity-icons - MIT License - https://clarity.design/foundation/icons/ * Jam icons - MIT License - https://v2.jam-icons.com/ * Ant Design SVG icons - MIT License - https://github.com/ant-design/ant-design-icons * Olicons - CC BY - https://github.com/owlling/olicons * Css.gg - MIT License -https://github.com/astrit/css.gg * Tabler icons - MIT License - https://github.com/tabler/tabler-icons * Ikonate - MIT License - https://github.com/mikolajdobrucki/ikonate * iconoir - MIT License - https://github.com/lucaburgio/iconoir * octicons - MIT License - https://github.com/primer/octicons * heroicons - MIT License - https://github.com/tailwindlabs/heroicons * Health Icons - MIT License - https://github.com/resolvetosavelives/healthicons * iconsax - Custom Free License - https://github.com/lusaxweb/iconsax * System-uicons - Unilicense - https://github.com/CoreyGinnivan/system-uicons ================================================ FILE: Dockerfile ================================================ FROM php:8.3-apache ARG UNAME=www-data ARG UGROUP=www-data ARG UID=1000 ARG GID=1001 RUN usermod --uid $UID $UNAME RUN groupmod --gid $GID $UGROUP ================================================ FILE: LICENSE ================================================ Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS ================================================ FILE: README.md ================================================ # VvvebJs
Drag and drop page builder javascript library.
Built with Vanilla Js with no dependencies or build tools and Bootstrap 5
Website | Documentation | Forum | Twitter
## [Live Demo](https://www.vvveb.com/vvvebjs/editor.html) For a full featured Open Source CMS using VvvebJs page builder check [Vvveb CMS](https://github.com/givanz/Vvveb) Using [Vvveb landing page template](https://github.com/givanz/landing) 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
```bash
#git 2.13+
git clone --recurse-submodules https://github.com/givanz/VvvebJs
# older git versions
git clone --recursive https://github.com/givanz/VvvebJs
```
* Pull changes
```bash
git pull --recurse-submodules
```
## Usage
Clone the repository or download a release then open `editor.html`
Because of browser iframe security you need to use a webserver such as apache/xampp and open `http://localhost/editor.html`
To disable browser security and open `editor.html` without installing a webserver run chrome with
```bash
chrome --disable-web-security --user-data-dir=/tmp/temporary_profile editor.html
```
To use the image upload or page save feature you need to have php installed.
## Docker
### Local development
From VvvebJs folder run
```bash
docker-compose up
```
### Image
Or run image
```bash
docker run -p 8080:80 vvveb/vvvebjs
```
Open http://localhost:8080/editor.php or http://localhost:8080/editor.html
## Save page
Save page function needs either php or node
### PHP
If you use docker, xampp or a shared hosting account php should work without any change.
Saving is done using [save.php](save.php)
### Node
For node go to VvvebJs folder and run
```bash
npm install express
node save.js
```
Open http://localhost:8080/editor.html
Saving is done using [save.js](save.js)
## [Landing template](https://github.com/givanz/landing)
To make changes to template files or sections run the following commands from `demo/landing` folder
### Install gulp
```bash
npm i
```
### Generate html files
Template html partials are located in `demo/landing/src` folder.
```bash
npm run gulp
```
### Watch for changes for development
```bash
npm run gulp watch
```
### Generate sections list for page builder
Sections html files are located in `demo/landing/src/sections` folder grouped in folders with the section group name.
```bash
npm run gulp sections
```
### Generate blocks list
Blocks html files are located in `demo/landing/src/blocks` folder grouped in folders with the blocks group name.
```bash
npm run gulp blocks
```
### Generate screenshots for sections
```bash
npm run gulp screenshots
```
## Usage
### Initialize example
```js