User:Guywan/Scripts/InsertShortcuts.js: Difference between revisions

Content deleted Content added
mNo edit summary
mNo edit summary
Line 5:
window.us_InsertShortcuts =
{
DEBUG: truefalse,
inserts: null,
Line 55:
}
// EnclosePut selected text into the tag. Replace \n's with actual newlines.
var result = this.inserts[number].replace("_", txtarea.value.substring(start, end)).replace(/\\n/g, "\n");