Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wearewondrous/paragraphs_types

A collection for Drupal 8 paragraphs (www.drupal.org/project/paragraphs). Currently not stable!
https://github.com/wearewondrous/paragraphs_types

depricated drupal-8 drupal-module

Last synced: 3 months ago
JSON representation

A collection for Drupal 8 paragraphs (www.drupal.org/project/paragraphs). Currently not stable!

Awesome Lists containing this project

README

        

#Deprecated

Will be removed in teh future

# Paragraphs types collection

## What is it?

This is a collection of paragraphs types for Drupal 8. This module requires the
[Paragraphs Module](www.drupal.org/project/paragraphs) to be installed.

## What is in it?

- Gallery gallery
- Image image
- field_image
- field_figcaption
- Blockquote blockquote
- field_body
- field_blockquote_cite (see [MDN Source](https://developer.mozilla.org/de/docs/Web/HTML/Element/blockquote))
- field_blockquote_footer
- Text text
- field_body
- Image featured Text
- field_body
- field_image
- field_image_text_layout
- Video video

## To dos

- convert to field_body in blockquote and image_featured_text
- convert figcaption, blockquote_footer to text formated
- add minimal html to figcaption, blockquote_footer

## Basics

- Highly experimental, do not use in production
- Only for Drupal 8, there will be no backport
- Currently does not work together with paragraphs demo because of naming collissions

## Installation

At the Moment only Drupal Composer projects are supported. Please see the documentation here:
[Using Composer to install Drupal packages through Drupal.org](https://www.drupal.org/node/2718229)

To install this module 4 libraries are needed.
- dropzone
- imagesloaded
- masonry
- photoswipe

Just add the following to your composer.json file:

```
{
"type": "package",
"package": {
"name": "enyo/dropzone",
"version": "4.3.0",
"type": "drupal-library",
"dist": {
"url": "https://github.com/enyo/dropzone/archive/v4.3.0.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "desandro/imagesloaded",
"version": "3.2.0",
"type": "drupal-library",
"dist": {
"url": "https://github.com/desandro/imagesloaded/archive/v3.2.0.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "desandro/masonry",
"version": "3.3.2",
"type": "drupal-library",
"dist": {
"url": "https://github.com/desandro/masonry/archive/v3.3.2.zip",
"type": "zip"
}
},
{
"type": "package",
"package": {
"name": "dimsemenov/photoswipe",
"version": "4.1.1",
"type": "drupal-library",
"dist": {
"url": "https://github.com/dimsemenov/PhotoSwipe/archive/v4.1.1.zip",
"type": "zip"
}
}
}
```

then add this git repository:

```
{
"type": "vcs",
"url": "https://github.com/wearewondrous/paragraph_types"
}
```

Be sure to have the installer path for libraries set

```
"web/libraries/{$name}": [
"type:drupal-library"
]
```

To install the libraries via composer then type
composer require enyo/dropzone desandro/imagesloaded desandro/masonry dimsemenov/photoswipe

To install the module run
composer require drupal/paragraphs_types