This is a test for integrating T(-) Countdown with Gutenberg Blocks.
First, we need to tidy up how the Javascript is being used. Here is a basic countdown that uses a shortcode.
Years
0
0
Months
0
0
Weeks
0
0
Days
0
0
Hours
0
0
Minutes
0
5
Seconds
0
0
Now let’s try a shortcode with a launch target of an external element.
This is a block with an id of ‘monkeymonk’
[tminus t="+10 secs" launchtarget="monkeymonk"]monkey is in space⦠space monkey![/tminus]
Years
0
0
Months
0
0
Weeks
0
0
Days
0
0
Hours
0
0
Minutes
0
0
Seconds
1
0
Years
0
0
Months
0
0
Weeks
0
0
Days
0
1
Hours
0
0
Minutes
0
0
Seconds
0
0