Commits

Anonymous committed 56abc28

fixed the bug that allowed all p classes on secommands

  • Participants
  • Parent commits 831d439

Comments (0)

Files changed (1)

File semanticeditor/static/semanticeditor/javascript/wymeditor/plugins/semantic/wymeditor.semantic.js

             // Need to ensure we don't match commands
             var selector = "p";
             for (var i = 0; i < this.commands.length; i++) {
-                selector = selector + "[class!='secommand-" + this.commands[i].name + "']";
+                selector = selector + "[class!='secommand secommand-" + this.commands[i].name + "']";
             }
             return selector;
         } else {