User:QwerpQwertus/enhancedtoolbar.js

if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) { $(document).ready( function {		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'strikethrough': { label: 'Strike', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/9/95/Toolbaricon_strike_s.png', action: { type: 'encapsulate', options: { pre: " ", post: " " }					}				}			}		} );	} ); } if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) { $(document).ready( function {		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'hline': { label: 'Horizontal line', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/b/b4/Toolbaricon_rule.png', action: { type: 'encapsulate', options: { pre: "", ownline: true }					}				}			}		} );	} ); } if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) { $(document).ready( function {		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'comment': { label: 'HTML comment', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/e/e7/Toolbaricon_hidden.png', action: { type: 'encapsulate', options: { pre: "" }					}				}			}		} );	} ); } if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) { $(document).ready( function {		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'math': { label: 'Math', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1c/Toolbaricon_math.png', action: { type: 'encapsulate', options: { pre: "$$", post: "$$" }					}				}			}		} );	} ); } if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) { $(document).ready( function {		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'noinclude': { label: 'Noinclude', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/c/c0/Noincluido.png', action: { type: 'encapsulate', options: { pre: " ", post: " " }					}				}			}		} );	} ); }