Sha256: c1bc6d374a672d0aa990db6d2c286babf146c864a628914b27e308f66480bbe2

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 KB

Contents

# Pageflow Text Page

[![Gem Version](https://badge.fury.io/rb/pageflow-text-page.svg)](http://badge.fury.io/rb/pageflow-text-page)

Page type to display large texts on a page.

## Installation

Add this line to your application's `Gemfile`:

    gem 'pageflow-text-page'

Register the page type inside the configure block in `config/initializers/pageflow.rb`

    Pageflow.configure do |config|
      config.page_types.register(Pageflow::TextPage.page_type)
    end

Include javascripts and stylesheets:

    # app/assets/javascripts/pageflow/application.js
    //= require pageflow/text_page

    # app/assets/javascripts/pageflow/editor.js
    //= require pageflow/text_page/editor

    # app/assets/stylesheets/pageflow/application.scss
    @import "pageflow/text_page";

    # app/assets/stylesheets/pageflow/themes/default.scss
    @import "pageflow/text_page/themes/default";

Execute `bundle install` Restart the application server.

## Troubleshooting

If you run into problems while installing the page type, please also refer to the
[Troubleshooting](https://github.com/codevise/pageflow/wiki/Troubleshooting) wiki
page in the [Pageflow  repository](https://github.com/codevise/pageflow). If that
doesn't help, consider
[filing an issue](https://github.com/codevise/pageflow-text-page/issues).

## Contributing Locales

Edit the translations directly on the
[pageflow-text-page](http://www.localeapp.com/projects/public?search=tf/pageflow-text-page)
locale project.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-text-page-1.1.0 README.md
pageflow-text-page-1.0.0 README.md