https://github.com/codevise/pageflow-text-page
Page type for text centric pages
https://github.com/codevise/pageflow-text-page
Last synced: 5 months ago
JSON representation
Page type for text centric pages
- Host: GitHub
- URL: https://github.com/codevise/pageflow-text-page
- Owner: codevise
- Created: 2014-10-21T11:03:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-15T05:53:23.000Z (over 2 years ago)
- Last Synced: 2025-10-08T01:38:52.031Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 7
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Pageflow Text Page
[](http://badge.fury.io/rb/pageflow-text-page)
[](https://github.com/codevise/pageflow-text-page/actions)
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.