Difference between revisions 66991 and 79477 on skwiktionary/** * Rozšírený nástrojový panel */ function addCustomButton(tagOpen, tagClose, sampleText, imageFile, speedTip) { mwCustomEditButtons[mwCustomEditButtons.length] = {"imageFile": imageFile, "speedTip": speedTip, "tagOpen": tagOpen, "tagClose": tagClose, "sampleText": sampleText}; } function improveToolbar() { if (!document.getElementById('toolbar')) return; addCustomButton('\n# položka 1\n# položka 2\n# položka 3', '', '', '//upload.wikimedia.org/wikipedia/commons/8/88/Btn_toolbar_enum.png', 'očíslovaný zoznam'); addCustomButton('\n* položka A\n* položka B\n* položka C', '', '', '//upload.wikimedia.org/wikipedia/commons/1/11/Btn_toolbar_liste.png', 'odrážkový zoznam'); } /* addOnloadHook je funkcia zo /skins-1.5/common/wikibits.js * zaregistruje funkciu, ktorá sa na udalosť window.onload spustí */⏎ ⏎ $(document).ready(function() { improveToolbar(); }); All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://sk.wiktionary.org/w/index.php?diff=prev&oldid=79477.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|