Commits

Luke Plant  committed 7676c93

Fixed issue 24 - update the class list when element type is changed.

  • Participants
  • Parent commits 5e16cd8

Comments (0)

Files changed (1)

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

         .bind("mouseup", function(evt) {
                   self.doc_mouseup(evt);
               });
+    jQuery(this.wym._options.containersSelector).find("a")
+         .bind("click", function(evt) {
+                   self.update_classlist_item_all();
+               });
 
     // Insert rewriting of HTML before the WYMeditor updates the textarea.
     jQuery(this.wym._options.updateSelector)