https://github.com/wp-digital/wp-block-expand
Short text with simple CTA to see full text.
https://github.com/wp-digital/wp-block-expand
block expand expandable gutenberg-blocks wordpress-plugin
Last synced: about 1 month ago
JSON representation
Short text with simple CTA to see full text.
- Host: GitHub
- URL: https://github.com/wp-digital/wp-block-expand
- Owner: wp-digital
- Created: 2022-07-19T12:51:08.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-21T14:08:55.000Z (almost 3 years ago)
- Last Synced: 2025-04-08T18:49:06.049Z (about 1 year ago)
- Topics: block, expand, expandable, gutenberg-blocks, wordpress-plugin
- Language: JavaScript
- Homepage: https://demo.wpd.digital/expandable-block/
- Size: 1.45 MB
- Stars: 1
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Expandable Block
### Description
Short text with simple CTA to see full text.
### Demo
[Expandable Block](https://demo.wpd.digital/expandable-block/)
### Install
- Preferable way is to use [Composer](https://getcomposer.org/):
````
composer require wp-digital/wp-block-expand
````
- Alternate way is to clone this repo to `wp-content/plugins/`:
````
cd wp-content/plugins/
git clone git@github.com:wp-digital/wp-block-expand.git
````
Activate **Expandable Block** with [WP-CLI](https://make.wordpress.org/cli/handbook/)
`wp plugin activate wp-block-expand` or from **Plugins** page.
### Documentation
There are few [constants](./src/constants/editor.js) which give a possibility to customize behaviour a bit.