1
0

Use namespaced insertText to fix non-wysiwyg img button.

This commit is contained in:
Matthias Mees
2013-07-08 14:10:33 +02:00
parent fcee7086eb
commit 96b68f0dba

View File

@ -154,7 +154,7 @@ window.log = function f(){ log.history = log.history || []; log.history.push(arg
var loc = prompt('Enter the Image Location: ');
if (loc) {
insertText(txtarea,'<img src="'+ loc + '" alt="">');
serendipity.insertText(txtarea,'<img src="'+ loc + '" alt="">');
}
}
/* end Better-Editor functions */