alexmorley / CodeOfConduct.Builder

(WIP!) An easy way to build the perfect Code of Conduct for your event/community/organisation
http://codeofconduct.io
Creative Commons Attribution 4.0 International
13 stars 13 forks source link

Save the contenteditable with styling (as pdf) #11

Closed alexmorley closed 6 years ago

alexmorley commented 6 years ago

Currently if you visit the site's "builder page" codeofconduct.io you can build your own code of conduct using some previous examples.

But at the moment you can only save your personal code of conduct as a .odt, .docx or .html. What would be really great is to add another option (which would probably work using some print function) to generate a pdf from the right hand side of the page.

Add button to:

I think it will involve implementing one of the solutions to this question on Stack Overflow. (So you'll need to work with at least the the ./app/assets/main.js and ./app/builder.php files.

Srijanjha commented 6 years ago

I would like to work on this. Can you tell me more about this task. Should I remove the old contributing. md file and upload another as PDF with styling?

dkarakay commented 6 years ago

I would like to work on it too :)

dkarakay commented 6 years ago

@alexmorley I did it :) #16

alexmorley commented 6 years ago

hi @SrijanJha28 & @dkarakay. Thanks for your interest! Sorry I should have made it more clear what the goal is here. I have edited the issue to add some more detail. It might help to have a quick explore of the site first. :)

Srijanjha commented 6 years ago

So what we really have to do is to add another option(PDF) using the dev tools, style it and save it as PDF file.

alexmorley commented 6 years ago

I think it will involve implementing one of the solutions to this question on Stack Overflow. (So you'll need to work with at least the the ./app/assets/main.js and ./app/builder.php files.

Srijanjha commented 6 years ago

I am not able to understand what I have to change in ./app/assets/main.js Can you tell me regrading this problem.