tooltip: "frazy w j\u0119zykach innych ni\u017C polski/definiendum w przypisie"
model: toolbar.button
pk: 46
+- fields:
+ accesskey: ''
+ group: [2]
+ label: slug
+ link: ''
+ params: '[]'
+ scriptlet: slugify
+ slug: slug
+ tooltip: slugifikacja
+ model: toolbar.button
+ pk: 105
- fields:
accesskey: ''
group: [1]
\r\n\r\n\r\n\r\n\r\n\r\n\r\npanel.fireEvent('contentChanged');"}
model: toolbar.scriptlet
pk: insert_stanza
+- fields: {code: '-'}
+ model: toolbar.scriptlet
+ pk: slugify
done(output, move_forward, move_up);
}.bind(this);
+
+ this.scriptlets['slugify'] = function(context, params, text, move_forward, move_up, done)
+ {
+ done(slugify(text.replace(/_/g, '-')), move_forward, move_up);
+ }.bind(this);
+
}
ScriptletCenter.prototype.callInteractive = function(opts) {