1if (typeof window.toolbar !== 'undefined') { 2 if(JSINFO['multiple']) { 3 toolbar[toolbar.length] = { 4 type: "picker", 5 title: "Skip Entity", 6 icon: '../../plugins/skipentity/skent.png', 7 key: "", 8 list:[ 9 { 10 "type":"format", 11 "title":LANG.plugins.skipentity.w_title, 12 "icon":"..\/..\/plugins\/skipentity\/tt-w.png", 13 "open":"```", 14 "close":"```" 15 }, 16 { 17 "type":"format", 18 "title":LANG.plugins.skipentity.g_title, 19 "icon":"..\/..\/plugins\/skipentity\/tt-g.png", 20 "open":"``", 21 "close":"``" 22 } 23 ] 24 }; 25 } else { 26 toolbar[toolbar.length] = { 27 type: "format", 28 title: "Skip Entity", 29 icon: '../../plugins/skipentity/skent.png', 30 key: "", 31 open: "``", 32 sample: "Text", 33 close: "``" 34 }; 35 } 36} 37