Metainformationen zur Seite
custom toolbar
Eigene Buttons im Editor hinzufügen:
Quellen:
- Userscript.js
if (typeof window.toolbar !== 'undefined') { toolbar[toolbar.length] = { type: "format", title: "code", icon: "../page.png", // located in lib/images/toolbar/ key: "ö", open: "<code>", sample: "", close: "</code>" }; } if (typeof window.toolbar !== 'undefined') { toolbar[toolbar.length] = { type: "format", title: "code bash", icon: "../plus.gif", // located in lib/images/toolbar/ key: "ü", open: "<code bash>", sample: "", close: "</code>" }; } if (typeof window.toolbar !== 'undefined') { toolbar[toolbar.length] = { type: "format", title: "code foldet", icon: "../open.png", // located in lib/images/toolbar/ key: "ä", open: "++++ text |\n<code>", sample: "", close: "</code>\n++++" }; }