Skip to content

Text to PDF app #10

@robmc

Description

@robmc

Use something like the ckeditor gem:

http://ckeditor.com/
http://rubygems.org/gems/ckeditor_rails
https://github.com/tsechingho/ckeditor-rails

This will provide a WYSIWYG text editor for users. Upon submission of the text, we redirect the user to the show page. We call the show page "Preview" in the routes instead of show. The preview page allows users to decide if they like the text they put in. From here they have 3 options, go back to the edit page and make changes to the text, save the text and come back to work on it later, or create a PDF document of the text. We use Prawn to generate the PDF documents.

http://prawn.majesticseacreature.com/
http://railscasts.com/episodes/153-pdfs-with-prawn-revised

This allows users to create text documents and generate PDFs without messing with the MS Office suite or Adobe products.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions