fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: remove unused code
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentToolbar
/
documentToolbar.js
diff --git
a/src/editor/modules/documentToolbar/documentToolbar.js
b/src/editor/modules/documentToolbar/documentToolbar.js
index
84361ad
..
33f95a6
100644
(file)
--- a/
src/editor/modules/documentToolbar/documentToolbar.js
+++ b/
src/editor/modules/documentToolbar/documentToolbar.js
@@
-9,7
+9,7
@@
return function(sandbox) {
currentNode;
var view = {
currentNode;
var view = {
- node: $(_.template(template)({
tagNames: wlxmlUtils.wlxmlTagNames, classNames: wlxmlUtils.wlxmlClassName
s, templates: documentTemplates})),
+ node: $(_.template(template)({
wlxmlUtils: wlxmlUtil
s, templates: documentTemplates})),
setup: function() {
var view = this;
setup: function() {
var view = this;
@@
-50,6
+50,8
@@
return function(sandbox) {
};
}
};
}
+ _.extend(params, {ctrlKey: e.ctrlKey});
+
sandbox.publish('command', command, params);
}
});
sandbox.publish('command', command, params);
}
});