deprecated) API access methods for plugins like amazonchooser
and linktrimmer, to perform insertion. Also fixed the
insertion of text when the ID of the element is not prefixed
(You may need to reload your browsercache to get the new JS)
Introducing serendipity.toggle_collapsible, which
– is a reusable function available via the serendipity namespace
– has arguments to customize the show/hide icon, but also has
sensible default fallbacks for those arguments
– creates an individual key in localStorage to store the open/
close state in
The latter also fixes a bug(?) which made show/hide in the entry
editor save the state for entry metadata and advanced options in
the same localStorage key. This could be improved with a fallback
for toggling elements which don't have an id.
References #144
Can now be used anywhere where a "real-time" filter is desirable.
As a usage example, it's implemented for the list of installable
plugins. Should work anywhere, though – needs an input element,
a list of target elements and an element within those target
elements to contain the search term.
Also made the function for the reset button for this reusable.
References #154
This used to be two seperate processes for the category icon and
images selected in plugin/theme config. It has now been simplified
to use just one process, which also uses the same markup and JS.
This adds to the consistency of the UI/UX, but it also saves some
CSS and a lot of JS, most of the latter of the expensive kind that
modifies the DOM.
The equal heights boxes look weird on small screens, so we're not
firing the plugin there any longer.
This introduces a new variable for breakpoints for responsive JS.
Please *only* add more breakpoints if you actually use them.
References #100
Some plugins might want to hook into the non-WYSIWYG editor and
create buttons which do use different "tags" for open/close or
not create HTML markup at all. This makes it possible for them
to do so.
References #122
References #114
serendipity_editor.js in default is static, so it can't be given by smarty. I copied the approach into the 2k11-version as well, so it won't get as easily lost.