Moodle Plugins directory: Stash snippets | Moodle.org
This plugin is retired in favour of the plugin Shortcodes, please use the latter instead.
Simplify the usage of the block Stash by providing shortcodes to place items.
Why using this?
With this filter the snippet to place the items becomes very simple:
[drop:123:abc]
- Teachers do not have to switch to the HTML view of their editors
- The shortcode is always visible when editing, unlike the Javascript snippet
- Unlike the Javascript snippet, the shortcode will gracefully support newer versions
- The snippet will (safely) make it through some security limitations
Useful links
Contributors
Frédéric Massart ⭐ (Lead maintainer)
Adrian Greeve: Lead maintainer
Please login to view contributors details and/or to contact them
https://integration.moodle.org/job/Precheck%20remote%20branch/26680/artifact/work/smurf.html
Thanks guys for sharing this filter with the community. I was able to successfully test the functionality with the recent version of the block and I admit it just integrates perfectly. Well done on that. I did not find any obvious problem in the code itself. In some future update of the filter, it might be nice to have some unit and behat tests attached but I am sure you are aware of that
You are cleared to land now. Welcome to the plugins directory!