Skip to main content
Image
2-opensenselabs-banner_1.jpg

How Paragraphs module enhances the editing experience in your Drupal website

article publisher

Prabhat

Drupal

Paragraph module provides more control to the user. For example, by using ‘Entity Background’ along with that it allows the user to add different media entity to the page. 

It is easy to use and allows site builders to design the placement of content in a cleaner manner with the goal that more of editing power can be given to the end-users.

It allows the editor to include various media entities and where the end-users can now choose on-the-fly between pre-defined Paragraph Types independent from one another, instead of using one WYSIWYG editor. More than anything it also allows the editor to customize the paragraphs from anywhere between a simple text block to an image to a video to a complex and configurable slideshow. 

various paragraph types; adding text in the first section; Adding quote in the next section; Adding a slideshow in the third section
Adding various paragraphs types

The module comes with various field types that work in a similar fashion like entity reference. One can easily add a new field on any content type and choose which should be available for end users, allowing them to add as many paragraphs as they want.

Paragraphs has been called as "the new way of content creation" 

Other than allowing the user to have complete control over the number of elements, it also let the user control what fields they should be composed of and what they should look like through the typical Drupal Manage Fields and Manage Display screens.

Another advantage is it reduces the number of fields and to give content a dynamic view.

What can you do with Paragraphs?

  • Add a block of text with an image left to it
  • Add a slideshow between blocks of text
  • Add a youtube embed between your text
  • Add quotes in between your content blocks

How to create a simple paragraph in Drupal 8?

To use this feature you need to download paragraph module from Drupal.org.

  1. Download the module, click on the "Extend" and install the module.
     
  2. After installing the module goto Structure/Paragraph types and click on the link

    .selecting the paragraph types
     
  3. Enter into the types and click on the ‘Add Paragraph type’.
    adding paragraph types
    Adding paragraph types
  4. After clicking the button a new window will appear then you need to fill the details in that window.
    Adding paragraph type
    Adding details of paragraph type
  5. After filling all the information regarding the paragraph type, add fields as per the requirements. 
    After adding fields there is a list of fields in the labels
  6. Go to ‘Administrative Toolbar/Content’. Create a content type, add a ‘Basic Page’.

  7. Adding basic page in the "Add content"
    Selecting basic page
  8. Create a basic page and fill the title column.Basic page 2.
    creating a basic page; Layout of the basic page
    Adding basic page 2
     
  9. Save the page and the HH is representing the ’Paragraph Type’. So do not remove this ‘HH’.

To Conclude

Paragraph has also reduced the efforts of content editing, other than being user-friendly. By making a paragraph type we can reuse that paragraph type in any content.

Let us know in the comments below how Paragraph helped you sort your problem. 

Subscribe

Ready to start your digital transformation journey with us?

Related Blogs

DrupalCon Barcelona: 2024 Wrap-Up From Europe

DrupalCon-Barcelona-Wrap-Up-Blog

DrupalCon, the main conference focusing on the digital experience platform Drupal, took place this year in Barcelona, Spain, from…

Drupal 11: Nine Must-Know Features

9-Amazing-Drupal-11-Features-OpenSense-Labs

Drupal is a free, open-source platform for creating and managing websites, digital directories, and additional online content. It has a…

Migrate To Your Search Engine Optimized Drupal Website

abc

Website migration not only sounds complex but puts at stake the very existence of your website. While SEO is one of the many factors…