Roo/htmleditor/BlockFigure.js
[roojs1] / Roo / htmleditor / BlockFigure.js
index 5ceb444..b7f3fc6 100644 (file)
@@ -237,7 +237,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
                     // this trigger toggle.
                      
                     this.setText(v ? "Hide Caption" : "Show Caption");
-                    this.setPressed(v);
+                    this.setPressed(v != 'block');
                 },
                 listeners : {
                     toggle: function (btn, state)