Filters: Stash snippets

filter_stash
Maintained by Picture of Frédéric Massart Frédéric Massart, Picture of Adrian Greeve Adrian Greeve
Filter plugin to make the usage of the block "Stash" a lot easier!
202 sites
49 downloads
9 fans

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

Sets

This plugin is part of set Stash.

Screenshots

Screenshot #0

Contributors

Picture of Frédéric Massart
Frédéric Massart (Lead maintainer)
Picture of Adrian Greeve
Adrian Greeve: Lead maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Frédéric Massart
    Fri, 26 Aug 2016, 3:29 PM
    To whoever reviews this, would it be possible to create a "Stash" set with the filter, availability and block plugins in it? Thanks!
  • Picture of David Mudrák
    Fri, 26 Aug 2016, 8:01 PM

    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 smile

    You are cleared to land now. Welcome to the Plugins directory!

Please login to post comments