editor: fix minor bug
[fnpeditor.git] / src / editor / modules / documentCanvas / commands.js
index b4f034a..7987a79 100644 (file)
@@ -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}}
                 });
             }
         }