This module provides a formatter for existing text, long text and text with summary widget types. This module allows you to change how the content is being display (formatted) by providing new format types:

Expand Formatter

Features

  • CSS3 Transition effects (with jQuery fallback if disabled):
    • None (just toggle visibility immediately)
    • Fade
    • Slide
  • Customizable/themable ellipsis
  • Customizable labels for trigger (collapsible, if you need to create a toggle)
  • Customizable classes on trigger (defaults to button for use in Bartik and many other themes)

How to use this module:
Enable the module and go to your content type's display (/admin/structure/types/manage/page/display). You will see fields (like body) that you now have the ability to choose what is being displayed (probably default). You can now choose "Trimmed (expandable)", which will also give you options on the right to configure.

Sandbox url: https://www.drupal.org/sandbox/hasmimeraj/2826803
Drupal Version: 8

CommentFileSizeAuthor
expand_formatter.zip6.66 KBhasmimeraj

Comments

hasmimeraj created an issue. See original summary.

PA robot’s picture

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

a.novolokov’s picture

Hi Md Meraj Ahmed,
1) You do not practiced a Coding standards Drupal.
All errors you can see on the page https://pareview.sh/node/65
Use Coder Sniffer to avoid this further.
2) In README.md file need to add more information

markhalliwell’s picture

Status: Needs review » Closed (won't fix)

This issue queue is for new projects, not existing ones. Please create a patch (not a zip) and upload it to the project's issue that you also created:

#2826869: [expanding_formatter] D8 Port

avpaderno’s picture

Title: Expand Formatter D8 » [D8] Expand Formatter
avpaderno’s picture

Status: Closed (won't fix) » Closed (duplicate)
Related issues: +#2916751: [D8] Expanding Formatter