@@ -10,7 +10,7 @@ var Designer = function ($, Option, events) {
1010 var $appearanceControls = $ ( '#boxzilla-box-appearance-controls' )
1111
1212 // functions
13- function init ( ) {
13+ function init ( ) {
1414 // Only run if TinyMCE has actually inited
1515 if ( typeof ( window . tinyMCE ) !== 'object' || window . tinyMCE . get ( 'content' ) === null ) {
1616 return
@@ -21,7 +21,7 @@ var Designer = function ($, Option, events) {
2121 options . borderWidth = new Option ( 'border-width' )
2222 options . borderStyle = new Option ( 'border-style' )
2323 options . backgroundColor = new Option ( 'background-color' )
24- options . width = new Option ( 'width' )
24+ options . width = new Option ( 'box- width' )
2525 options . color = new Option ( 'color' )
2626
2727 // add classes to TinyMCE <html>
@@ -55,7 +55,7 @@ var Designer = function ($, Option, events) {
5555 *
5656 * @return bool
5757 */
58- function applyStyles ( ) {
58+ function applyStyles ( ) {
5959 if ( ! visualEditorInitialised ) {
6060 return false
6161 }
@@ -79,7 +79,7 @@ var Designer = function ($, Option, events) {
7979 return true
8080 }
8181
82- function resetStyles ( ) {
82+ function resetStyles ( ) {
8383 for ( var key in options ) {
8484 if ( key . substring ( 0 , 5 ) === 'theme' ) {
8585 continue
0 commit comments