givanz / VvvebJs

Drag and drop page builder library written in vanilla javascript without dependencies or build tools.
https://www.vvveb.com/vvvebjs/editor.html
Apache License 2.0
7.16k stars 1.64k forks source link

Delete page button #289

Closed vinumweb closed 11 months ago

vinumweb commented 1 year ago

How do you make the commented delete button in editor.php work?

givanz commented 1 year ago

Hi

You mean the delete button from file manager?

filemanager0delete-button


This button uses the same php script as save button, if save is working then delete should also work.

Do you receive a message error? can you check the php error log to see if there is an error?

This issue could be caused by file permissions.

vinumweb commented 1 year ago

I dont have that edit button and delete button when hovering a page?

Thanks in advance.

givanz commented 1 year ago

You probably don't have the latest changes, you can update the code by using git pull in the VvvebJs folder.

vinumweb commented 1 year ago

Oh thats why. I just have a problem with that. If i use Git Pull will that delete all of my custom components and my custom code in save.php?

Thanks in advance

givanz commented 1 year ago

If the new code and the changes are in the same files on the same lines then there will be a conflict.

You can make a new git clone and then use https://meldmerge.org or https://winmerge.org to compare the folders and manually merge the changes.

Make a backup before making any changes.