fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
editor: gutter comments - delete comment confirmation dialog
[fnpeditor.git]
/
src
/
editor
/
plugins
/
core
/
switch.js
diff --git
a/src/editor/plugins/core/switch.js
b/src/editor/plugins/core/switch.js
index
edb8e95
..
645f7ad
100644
(file)
--- a/
src/editor/plugins/core/switch.js
+++ b/
src/editor/plugins/core/switch.js
@@
-55,7
+55,8
@@
var createSwitchAction = function(createParams) {
return f.document.createFragment(f.CaretFragment, {node: f.document.getNodeByPath(textNodePath), offset: f.offset});
}, {
metadata: {
- description: description
+ description: description,
+ fragment: params.fragment
},
success: callback
});