fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pretty tag fields in new resource form
[redakcja.git]
/
redakcja
/
static
/
js
/
button_scripts.js
diff --git
a/redakcja/static/js/button_scripts.js
b/redakcja/static/js/button_scripts.js
index
ef2b794
..
6e72915
100644
(file)
--- a/
redakcja/static/js/button_scripts.js
+++ b/
redakcja/static/js/button_scripts.js
@@
-48,6
+48,11
@@
function ScriptletCenter()
{
this.scriptlets = {};
{
this.scriptlets = {};
+ this.scriptlets['insert_text'] = function(context, params, text, move_forward, move_up, done)
+ {
+ done(params.text, move_forward, move_up);
+ }.bind(this);
+
this.scriptlets['insert_tag'] = function(context, params, text, move_forward, move_up, done)
{
var padding_top = '';
this.scriptlets['insert_tag'] = function(context, params, text, move_forward, move_up, done)
{
var padding_top = '';
@@
-355,4
+360,4
@@
var scriptletCenter;
$(function() {
scriptletCenter = new ScriptletCenter();
$(function() {
scriptletCenter = new ScriptletCenter();
-});
\ No newline at end of file
+});