From: Aleksander Ɓukasz Date: Fri, 17 Jan 2014 15:17:56 +0000 (+0100) Subject: editor: fix minor bug X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/becdfc02dc816d594bcad03cbcbab7aac550da5f?ds=sidebyside editor: fix minor bug --- diff --git a/src/editor/modules/documentCanvas/commands.js b/src/editor/modules/documentCanvas/commands.js index b4f034a..7987a79 100644 --- a/src/editor/modules/documentCanvas/commands.js +++ b/src/editor/modules/documentCanvas/commands.js @@ -160,7 +160,7 @@ commands.register('newNodeRequested', function(canvas, params) { canvas.wlxmlDocument.wrapNodes({ node1: siblingParents.node1, node2: siblingParents.node2, - _with: {tagName: params.wlxmlTag, attrs: {klass: params.wlxmlClass}} + _with: {tagName: params.wlxmlTag, attrs: {'class': params.wlxmlClass}} }); } }