Skip to content

Provides a field type that applies classes to Paragraphs items.

License

Notifications You must be signed in to change notification settings

backdrop-contrib/classy_paragraphs

Repository files navigation

Classy Paragraphs

Classy paragraphs ships a new field type "Class list" which allows an editor to apply a selected class to paragraph items via a drop-down list. Site builders can add this functionality by creating a custom "Class list" field. Classes can be added by implementing the hook_classy_paragraphs_list_options hook, or through the UI with the included Classy Paragraphs UI sub-module.

Dependencies

  • Paragraphs
  • List
  • Options

Installation and Usage

  • Install this module using the official Backdrop CMS instructions.
  • Add "Class list" field to desired paragraph type
  • Define classes by:
    • implementing the the hook_classy_paragraphs_list_options hook, OR
    • Activating the Classy Paragraphs UI sub-module and adding classes at Configuration > Content authoring > Classy Paragraphs UI
  • Further instructions can be found in (and added to) the Wiki

Issues

Bugs and Feature requests should be reported in the Issue Queue

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

About

Provides a field type that applies classes to Paragraphs items.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages