4
edits
Changes
→Replace: Commands With Multiple Arguments: typo with the placement of $
preview: function( pblock, what, mods ) {
// args contains .with and .in, both of which are input objects.
var msg = 'Replaces "${$what}" with ${$with} in ${$in}.';
var subs = {what: what.text, with: mods.with.text, in: mods.in.text};