@danstramer , @frederique-game
I implemented block to this plugin.
You can try it on my repo.
Thanks! will give it a go.
So to test, we will need to add the blocks folder to the plugin files and also add the include to ttwenty.php ?
Dan
This is great news and an awesome “extension” to an already very useful plugin!
I get the error:
before-after-block.js:1 Uncaught SyntaxError: Identifier ‘el’ has already been declared at before-after-block.js:1
And no block to insert in Gutenberg. I tried to change el in the scripts with elTwenty. To no avail. But I am not a programmer 😉
@alframe
mhh i don’t know why 🙁 it’s my first block and I worked on boilerplate.
And I’m not so good 🙁
Maybe try to add on begin of before-after-block.js below code
( function() {
and in the end:
} )();
Could You check it?
-
This reply was modified 3 years, 2 months ago by celes15.
-
This reply was modified 3 years, 2 months ago by celes15.
Hi guys I updated my Extension.
Added MediaUpload support,
Added preview of images,
Using builded shortcode,
v2 works perfectly now!
Thanks man! Cool thing.
I wish there was a way to change the darkening and the font properties in general of the “Before” and “After” that appears when hovering without adding css 🙂
Cheers!
I get this issue when i try to use it .. in Gutenberg
https://tinyurl.com/yz7853cn