Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dkjensen committed Aug 1, 2024
1 parent 564d12e commit 62ddee1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Light Modal Block ===
Contributors: cloudcatch, dkjensen
Tags: block, modal, popup, lightbox, gutenberg, full-site-editing
Tested up to: 6.4.1
Tested up to: 6.6.1
Stable tag: 0.0.0-development
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -34,7 +34,11 @@ The Light Modal block uses a modified version of the [Micromodal](https://github

== Changelog ==

= 1.2.1=
= 1.3.0 =

* Enhancement: Add support for drop shadows

= 1.2.1 =

* Fix: Modal blocks not showing in sidebar or advanced controls if a nested block

Expand Down Expand Up @@ -73,15 +77,11 @@ Each modal is given a unique ID, which can be found inside the inspector control

To open a modal:

```javascript
window.lightModalBlocks.get('modal-id-here').showModal(true);
```
window.lightModalBlocks.get('modal-id-here').showModal(true);

To close a modal:

```javascript
window.lightModalBlocks.get('modal-id-here').closeModal();
```
window.lightModalBlocks.get('modal-id-here').closeModal();

== Screenshots ==

Expand Down

0 comments on commit 62ddee1

Please sign in to comment.