givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
384 stars 82 forks source link

Changing Text in Showcase-3 on index.html duplicates text on save #187

Open Twilight-Computer opened 2 months ago

Twilight-Computer commented 2 months ago

Editing the text in the Showcase-3 section on index.html.

Using the Code Editor or the GUI - on save, it duplicates the text.

Editing the file manually (index.html in public/themes/landing ) does not show this duplicated text.

givanz commented 2 months ago

Thanks for the bug report, it was caused by a chrome bug that adds div elements inside paragraphs on enter key.

It's fixed in the latest update, changed file public/js/vvvebjs/builder.js

You might need to clear browser cache after update.

Twilight-Computer commented 1 month ago

I have updated my test site to the latest V1.04. Problem is still present. Checked and confirmed that my builder.js file is same as one shown on source and they match. Clearing browser cache adds more lines of text.......

givanz commented 1 month ago

Can you please try on a newly added Showcase-3 section?

The existing section might have a wrong structure from the previous bug with div elements inside p that might prevent text editing to work properly.

Or you can make a quick check on the demo https://demo.vvveb.com/admin/index.php?module=editor/editor&url=/&template=index.html