silexlabs / Silex

Silex live web creation, free/libre no-code website builder, next gen Webflow for the static web
http://www.silex.me
GNU Affero General Public License v3.0
2.2k stars 580 forks source link

copy / paste ui #1521

Closed lexoyo closed 9 months ago

lexoyo commented 1 year ago

Simple copy paste

ctrl-c ctrl-v already works(?)

https://github.com/GrapesJS/grapesjs/discussions/4836#discussioncomment-4646702

Advanced copy paste

With preview and a ui to list the copied components https://github.com/gxanshu/grapesjs-user-blocks

GetLikha commented 1 year ago

When copy pasting an HTML element in V2, you need to go in the copied element and make a change (usually a space fixes it) for the code to reflect. Here's an example:

https://github.com/silexlabs/Silex/assets/132113888/6d0383c3-0039-41d3-8d88-eecf53898bf0

Doesn't really have to be a space, just any change in the code to like- refresh it.

Anyways a small bug I found in copy pasting on Silex :D

lexoyo commented 9 months ago

it is fixed and will be live in a week or so