forked from merbird/modal-block
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
68 lines (54 loc) · 2.66 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
=== Modal Guten Block ===
Contributors: merbmerb
Plugin Name: Modal Block
Plugin URI: https://github.com/merbird/modal-block
Tags: gutenberg, modal, popup, window, block
Author: Mark Bird
Donate link: https://paypal.me/SupportBodDev
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 5.6
Stable tag: trunk
Version: 1.4.2
License: GPLv3
This plugin provides a Gutenberg Modal / Popup Block.
== Description ==
This project provides a modal / popup block for the WordPress Gutenberg editor.
- Multiple methods for triggering modal including button, text link, image link, external class, and page load.
- User definable modal content using Gutenberg blocks, for example, image, paragraph etc.
- Support for multiple modal window sizes.
- Lots of customizable options including Trigger Button Label, Button Color, Trigger Text, Trigger Text Size, Trigger Image, Trigger Class, Modal Delay, Trigger Element Alignment, Overlay Background Color, Title Text Size, Title Font Color, Title Background Color, Title Padding, Border Radius.
- Supports multiple modals on the same page.
- ADA compliant.
- Uses create-guton-block for easy config.
== Installation ==
From your WordPress dashboard
1. **Visit** Plugins > Add New
2. **Search** for "Modal Block"
3. **Install** the "Modal Block" plugin
4. **Activate** "Modal Block" from your Plugins page
5. **Insert Block** on your Gutenberg Editor and select "Modal Block" which is located in Widgets.
== Frequently Asked Questions ==
== Screenshots ==
1. Sample modal window.
2. Modal Guten Block in editor.
== Changelog ==
= 1.4.2 =
* Fixed issue where clicking on nested content in edit mode resulted in modal edit content box closing.
* When modal opened focus on first element but do not scroll to it. Stops modal opening at bottom.
= 1.4.1 =
* Fix for when we trigger on image and image is smaller than medium size. In this case we default in the full size image.
= 1.4 =
* Make ADA compliant including using button instead of span, setting / returning focus and focus trapping.
* Add custom class to dialog when modal opens.
* Add toggle option to disable close on overlay click.
= 1.3 =
* Optional display only once for timer based modals. Modal Id links timer modals on different pages to say they are the same. Also ability to say how long before modal is shown again.
= 1.2 =
* Change icon to use SVG - use alt tag from trigger image - optional close btn in modal
= 1.1 =
* Update for deprecated wp.editor (changed to wp.blockEditor) and core/editor (changed to core/block-editor).
= 1.0.0 (8/19/2019) =
* First release
== Donations ==
If you like the plugin, consider a donation to support further development. [Click here](https://paypal.me/SupportBodDev)