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
6.86k stars 1.58k forks source link

Idea/suggestion #362

Open ALTITUDE-DEV-FR opened 1 week ago

ALTITUDE-DEV-FR commented 1 week ago

Hi Givanz,

Thank you for your tool, which I have been using since version 1.0. I have greatly improved it on my side, making it different from your current version in pure JS, etc, for my part i use a custom version for my own cms PHP, with Hotwired Stimulus.

I have a small suggestion: having tested various builders, could you improve the drag/drop functionality to make it more "smooth" and not so "fast" when moving a block? This is not very user-friendly.

Here is a demo: https://stripo.email/en/demo https://i.imgur.com/4IFATgP.png

PS: As mentioned in my email, I can provide a block editor by TinyMCE 6, self-hosted, if needed.

https://i.imgur.com/d90Itsp.png

Have a great day, Florian

givanz commented 6 days ago

Hi

Can you please provide more details if possible a video with the drag and drop issues?

There was a recent bug fix related to drag and drop https://github.com/givanz/VvvebJs/commit/5fd7ebd42685851ec735dee1a907be81f43355ae, does this solve the issues?

I fixed the bundled tinymce plugin https://github.com/givanz/VvvebJs/commit/ef921fe794822d11831f588e6215fc8c30624c6c, does your plugin have extra functionality or work with inline mode?

You can provide a link to the plugin github repository and I will include the link in the readme.

Best regards.

ALTITUDE-DEV-FR commented 4 days ago

Hi,

Basically, I would like to adjust the behavior so that when you drag and drop a block, the outline appears smoothly on the zones, rather than appearing abruptly. I want the transition to take about 300ms instead of being instantaneous.