initial commit.

This commit is contained in:
mntmn
2017-04-07 01:29:05 +02:00
commit 7ff2926578
258 changed files with 83743 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
/*
SpacedeckFormatting
This module contains functions dealing with Rich Text Formatting.
*/
var SpacedeckFormatting = {
apply_formatting: function(section, cmd, arg1, arg2) {
console.log("apply_formatting: ",section,cmd);
var scribe = _scribe_handle_for_object[section._id];
var command = scribe.getCommand(cmd);
if (cmd == 'createLink') {
arg1 = prompt("Link URL?");
}
scribe.el.focus();
command.execute(arg1,arg2);
}
}