Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Edit Content" text becomes part of slide after downloading #41

Open
zyphersworld opened this issue Aug 18, 2015 · 2 comments
Open

"Edit Content" text becomes part of slide after downloading #41

zyphersworld opened this issue Aug 18, 2015 · 2 comments

Comments

@zyphersworld
Copy link

I created a small slideshow and then clicked Download presentation and downloaded the zip file
I then extracted the zip file and opened up the index.html file and all the slides had "Edit Content" at the top as part of the slide text.

I added:
slides = slides.replace(/<div class=["-]slide-edit-lock["-]>.*Edit content<\/div>/g,"");
after the var slides declaration in the createZip method in main.js and it seems to have fixed it for now but i was wondering if there was a reason the slide-edit-lock div is inside the slides div?
Can it be moved elsewhere so the innerHTML of the slides div dosn't contain the slide-edit-lock div

@piatra
Copy link
Owner

piatra commented Aug 19, 2015

Thank you for reporting. I'll have a look.

@SylarVolkoff
Copy link

With this you can't edit your slide after uploading it again :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants