fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: styling gutter comments
[fnpeditor.git]
/
src
/
editor
/
plugins
/
core
/
lists.js
diff --git
a/src/editor/plugins/core/lists.js
b/src/editor/plugins/core/lists.js
index
5a1b875
..
662dc53
100644
(file)
--- a/
src/editor/plugins/core/lists.js
+++ b/
src/editor/plugins/core/lists.js
@@
-49,7
+49,8
@@
var toggleListAction = function(type) {
return doc.createFragment(doc.CaretFragment, {node: text, offset:0});
}, {
metadata: {
return doc.createFragment(doc.CaretFragment, {node: text, offset:0});
}, {
metadata: {
- description: action.getState().description
+ description: action.getState().description,
+ fragment: params.fragment
},
success: callback
});
},
success: callback
});
@@
-77,7
+78,8
@@
var toggleListAction = function(type) {
return toret;
}, {
metadata: {
return toret;
}, {
metadata: {
- description: action.getState().description
+ description: action.getState().description,
+ fragment: params.fragment
},
success: callback
});
},
success: callback
});
@@
-99,7
+101,8
@@
var toggleListAction = function(type) {
}
}, {
metadata: {
}
}, {
metadata: {
- description: action.getState().description
+ description: action.getState().description,
+ fragment: params.fragment
},
success: callback
});
},
success: callback
});