Skip to content

Releases: sergeykuzmich/inline-spoilers

2.1.0

17 Feb 18:14
Compare
Choose a tag to compare

What's Changed

  • Fixed interaction with links & other interactive elements inside the spoiler
  • Fixed styling for the spoiler made with the shortcode, when there is no spoiler block

EXPERIMENTAL

  • Provide support for dynamic shortcodes [spoiler-{variable}] (e.g. [spoiler-alpha], [spoiler-beta], etc.)

Set IS_DYNAMIC_SHORTCODE to true in wp-config.php to enable the feature: define('IS_DYNAMIC_SHORTCODE', true);

Usage example:

[spoiler-alpha title="Parent"]
    [spoiler-beta title="The First Child"]
        Hello World!
        [spoiler-gamma title="Grand Child"]
            I was born!
        [/spoiler-gamma]
    [/spoiler-beta]
    [spoiler-beta title="The Second Child"]
        Goodbye World!
    [/spoiler-beta]
[/spoiler-alpha]

Full Changelog: 2.0.0...2.1.0

2.0.0

15 Feb 11:34
cefa968
Compare
Choose a tag to compare

What's Changed

  • Change spoiler HTML semantic (from div to details & summary)
    • All blocks created with the previous version of Guttenberg block will be the same as before, until you edit them
  • Allow spoilers inside spoilers (as well as any other Guttengerg blocks allowed in post)

WARNING

Full Changelog: 1.5.5...2.0.0

1.5.5

31 May 22:54
34486c7
Compare
Choose a tag to compare

1.5.4

01 Aug 18:56
Compare
Choose a tag to compare
  • Minify assets
  • Update WordPress "Requires at least" version
  • Update WordPress "Tested up to" version

1.5.1

20 Jun 07:28
9509627
Compare
Choose a tag to compare

1.5.0

04 Jan 13:36
Compare
Choose a tag to compare
wp-config.php:

...
/** Set FALSE to disable 'Inline Spoliers' plugin script & style optimization
define( 'IS_OPTIMIZE_LOADER', false ); 

/* That's all, stop editing! Happy publishing. */
...

1.4.1

24 Apr 09:38
2a53ea8
Compare
Choose a tag to compare

1.4.0

23 Apr 13:01
5192104
Compare
Choose a tag to compare

Introduce Guttenberg block to create spoilers (special thanks to Sergey Zaytsev for doing most of things)

1.3.7

31 Jan 20:13
4e4cdce
Compare
Choose a tag to compare

Refactor deployment strategy to support multiply revisions for the same plugin version

1.3.3

13 Nov 08:58
9827552
Compare
Choose a tag to compare