devlabnet / SlideShow

SlideShow Plugin for CKEditor
16 stars 18 forks source link

Problem with cloning tags after multiple saving content #14

Closed ruznopace closed 8 years ago

ruznopace commented 10 years ago

Initial code after first saving generated slideshow code in database is ok. After changing some content around but not touching slideshow, slideshow code after 2nd savings have some duplicate tags.

After 2nd saving, duplicated divs are: ad-forward, ad-back, ad-info, ad-slideshow-controls ad-slideshow-running. The problem is that jquery.ad-gallery.min.js is generating that divs everytime when editing mode is turns, but old divs are saved when they were generated in frist time. And after every other savings divs are multiplying.

Code of duplicated tags:

cricri042 commented 9 years ago

Hi, Can you try the last version, as I did some fix !! --Christian