fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wlxml: lists - list.extractAllItems
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
commands.js
diff --git
a/src/editor/modules/documentCanvas/commands.js
b/src/editor/modules/documentCanvas/commands.js
index
a165132
..
8a26ecc
100644
(file)
--- a/
src/editor/modules/documentCanvas/commands.js
+++ b/
src/editor/modules/documentCanvas/commands.js
@@
-95,7
+95,7
@@
commands.register('list', function(canvas, params) {
doc = node1.document;
doc.transaction(function() {
doc = node1.document;
doc.transaction(function() {
- doc.createList({node1: node1, node2: node2});
+ doc.createList({node1: node1, node2: node2
, klass: params.meta === 'num' ? 'list.enum' : 'list'
});
}, {
success: function() {
canvas.setCurrentElement(selectionFocus.element, {caretTo: selectionFocus.offset});
}, {
success: function() {
canvas.setCurrentElement(selectionFocus.element, {caretTo: selectionFocus.offset});