Moin Forum,
man kann sich (durch einige Frickelei) bei BBCodeXtra eigene Tags einbauen, wie man sie von BBCode her kennt. Wollte ich Euch nicht vorenthalten.
Zitat von https://addons.mozilla.org/de/firefox/discussions/comments.php?DiscussionID=4098Alles anzeigen1.) Extract (unzip) bbcodextra.jar from the extensions chrome directory
2.) Open content/bbcodextra/bbcodextra.js
3.) Inside the method "insertAtCursorSetup" there should be a bunch of `case: "command"` lines. Add your new command.
For example, if I wanted to add a specific color & make it bold I'd add:
case "MyCustomCommand":
bbcodextra.insertAtCursor("This is Fuschia");
break;
4.) Save bbcodextra.js
5.) Open content/bbcodextra/bbcodextraOverlay.xul
6.) Find the "<menu>" item you want to add your item to. Also, note if you want it in a sub-menu (like vBulletin or xhtml) and find that as well.
7.) Add your custom "<menuitem>" entry to the xul
For example, to call the command I previously created:
<menuitem>
8.) Save bbcodextraOverlay.xul
9.) Zip all 3 folders you previously extracted to your desktop
10.) Rename the .zip to bbcodextra.jar
11.) Replace the bbcodextra.jar in your FF extension folder with the one you just created.
12.) Restart FFThere you have it, 12 short steps to get a custom command
You can view a picture of my custom command here: http://bpatterson.net/images/customBBCodeXtra.jpg
Gruss
Mic