https://bugzilla.wikimedia.org/show_bug.cgi?id=38487
--- Comment #2 from Helder <[email protected]> --- Instead of removing the button, its code could be changed to this: ------------------------------------------------------------------ 'big': { 'labelMsg': 'wikieditor-toolbar-tool-big', 'type': 'button', 'icon': 'format-big.png', 'offset': [2, 2], 'action': { 'type': 'encapsulate', 'options': { 'pre': "<span style=\"font-size: larger;\">", 'periMsg': 'wikieditor-toolbar-tool-big-example', 'post': "</span>" } } }, ------------------------------------------------------------------ A gadget could try to do this until the bug is fixed, but ------------------------------------------------------------------ $( '#wpTextbox1' ).wikiEditor( 'removeFromToolbar', { 'section': 'advanced', 'group': 'size', 'tool': 'big' } ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'size', 'tools': { 'big': { 'labelMsg': 'wikieditor-toolbar-tool-big', 'type': 'button', 'icon': 'format-big.png', 'offset': [2, 2], 'action': { 'type': 'encapsulate', 'options': { 'pre': "<span style=\"font-size: larger;\">", 'periMsg': 'wikieditor-toolbar-tool-big-example', 'post': "</span>" } } } } } ); ------------------------------------------------------------------ would put the button in the wrong position... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
