Index: trunk/extensions/VisualEditor/modules/es/tools/es.ListButtonTool.js |
— | — | @@ -105,7 +105,10 @@ |
106 | 106 | 'type': 'listItem', |
107 | 107 | 'attributes' : { 'styles': [ this.name ] } |
108 | 108 | } ] ) |
109 | | - .concat( stacks[i][j].getElementData() ) |
| 109 | + //.concat( stacks[i][j].getElementData() ) |
| 110 | + .concat( [ { 'type': 'paragraph' } ] ) |
| 111 | + .concat( stacks[i][j].getContentData() ) |
| 112 | + .concat( [ { 'type': '/paragraph' } ] ) |
110 | 113 | .concat( [ { 'type': '/listItem' } ] ); |
111 | 114 | } |
112 | 115 | data = data.concat( [ { 'type': '/list' } ] ); |