Skip to content

codevise/pageflow-text-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a35b036 · Jan 15, 2024
Jan 2, 2024
Feb 24, 2021
Mar 7, 2019
Dec 10, 2018
Jan 15, 2024
Mar 7, 2019
Mar 7, 2019
Oct 21, 2014
Oct 21, 2014
Jan 15, 2024
Jan 12, 2024
Dec 23, 2022
Jun 9, 2016
Jan 12, 2024

Repository files navigation

Pageflow Text Page

Gem Version Build Status

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 wiki page in the Pageflow repository. If that doesn't help, consider filing an issue.

Contributing Locales

Edit the translations directly on the pageflow-text-page locale project.