Releases: CODESIGN2/gutenberg-shortcode-preview-block
Storybook Preview & Improved Selection
Lots of change. Should not be breaking.
- Less code owned, thanks to using more WordPress Gutenberg libs
- Smaller code output thanks to WordPress Gutenberg team
- Improved Selection of block when it renders interactive elements
- Block defaults to technical content view.
- This is to lower the load on sites using the plugin.
- This also makes using the cursors and handles for block placement less flaky.
More in-line with original PR
Using what was learned to get 1.0.6 out, I was able to make some edits to this to improve selection, and bring toggle selector controls back, while retaining the default to preview for-now.
This uses more of the WordPress & Gutenberg platform, and less custom code, relying on a weird hack that seems to fix iframe sizing. YMMV.
In future I may revise the strategy of rendering by default. It might put less strain on a site that uses many instances in a post, to default to non-rendered. It's just harder then, for "visual people" who may become distracted by code.
This is likely to be the final release of this plugin.
WordPress 5.4 changes and minor changes
Uses WordPress wp.url
global object instead of js managed dependency. Tested on 5.4 using 2020 theme and video shortcode.
Not recommended for use on a website.
WordPress 5.0 Support
This is a new 1.0.4 release with WordPress 5 support, tested on WordPress 5.0.3
- Fixes #14
- Removes PHP 5.6 support
- Updated NPM dependencies
- Tested against WordPress
5.0.3
en_gb
Sadly until the Gutenberg team stops breaking their public JS API with needless moving of furniture, it seems this plugin may perpetually break or be incompatible with all but the tested versions. I'd apologize but this really is outside of my control, and I don't feel complicating this plugin is the right place to put the engineering effort.
I'd like:
- WP Core team to start deprecating, making console / debug noise about changes to API with 18 month roadmap before removal
- WP Core team to work out how to have Gutenberg & WordPress between at least Minor and Patch versions be compatible with plugins, rather than dumping the effort at plugin authors door
End Rant. Enjoy 😸
Gutenberg 3.x fixes
Don't know how long this was broken for, but Gutenberg changes a bit of their API, so the last release 0.0.2 didn't work
1.0.1 was pushed to plugin repo, but changelog was missing due to having two sources of truth, it's likely the readme.txt with that changelog was not committed to this repo. Both are now in-sync and the WordPress plugin repo is a binary release platform (source code is removed).
No new features, just fixes and changes to API swapping prefixing for namespacing (hence major version), using tests.
Release binary attached from WordPress plugin repo download.