Open richierh opened 1 year ago
this can't be run as node project its core php !
Hi
The only php part of the project is a small couple of php examples editor.php that loads the file list used in the file manager list and upload.php on how to save the page to server.
You can use any server side language for saving the content to server just replace save.php for data-vvveb-url
in
<button class="btn btn-primary btn-icon" title="Export (Ctrl + E)" id="save-btn" data-vvveb-action="saveAjax" data-vvveb-url="save.php" data-v-vvveb-shortcut="ctrl+e">
https://github.com/givanz/VvvebJs/blob/master/editor.html#L68
In the server side script you need to access form POST data that will contain an array with html
key for content and file
for filename.
How to run this in node ? I am having trouble to use it since I do not understand php