+ getUiTabs : function( editor )\r
+ {\r
+ var uiTabs = [];\r
+\r
+ // read UI tabs value from config\r
+ var configUiTabs = editor.config.scayt_uiTabs || "1,1,1";\r
+\r
+ // convert string to array\r
+ configUiTabs = configUiTabs.split( ',' );\r
+\r
+ // "About us" should be always shown for standard config\r
+ configUiTabs[3] = "1";\r
+\r
+ for ( var i = 0; i < 4; i++ ) {\r
+ uiTabs[i] = (typeof window.scayt != "undefined" && typeof window.scayt.uiTags != "undefined")\r
+ ? (parseInt(configUiTabs[i],10) && window.scayt.uiTags[i])\r
+ : parseInt(configUiTabs[i],10);\r
+ }\r
+ return uiTabs;\r
+ },\r