imported>DrOwl (first impresions) |
imported>mutante mNo edit summary |
||
Line 2: | Line 2: | ||
[[http://bbcodextra.extenzilla.org/index.php BBCodeXtra]] is an extension, compatible with Mozilla |
[[http://bbcodextra.extenzilla.org/index.php BBCodeXtra]] is an extension, compatible with Mozilla [[Firefox]] and [[Mozilla]] Suite, which adds to the context menu new commands to insert [[BBCode]]/[[HTML]]/[[XHTML]] codes in an easy and fast way. |
||
BBCodeXtra suits well with all forum types, for example: |
BBCodeXtra suits well with all forum types, for example: |
||
* phpBB |
* [[phpBB]] |
||
* Invision |
* [[Invision]] |
||
* |
* [[vBulletin]] |
||
This extension can really simplify your life with all forums that use BBCode or Html codes when posting new messages. |
This extension can really simplify your life with all forums that use BBCode or Html codes when posting new messages. |
Revision as of 20:04, 22 February 2007
BBCode Extra
[BBCodeXtra] is an extension, compatible with Mozilla Firefox and Mozilla Suite, which adds to the context menu new commands to insert BBCode/HTML/XHTML codes in an easy and fast way.
BBCodeXtra suits well with all forum types, for example:
* phpBB * Invision * vBulletin
This extension can really simplify your life with all forums that use BBCode or Html codes when posting new messages.
Modifying
I am currently trying to modify [BBCode Extra] to add wiki code to it.
Testing
I have made a page for testing the wiki code i create bbcx.wiki.test
Code snips
these are some quick changes i made to test how the extension works... File:bbcodextra.jar -->
File:content\bbcodextra\bbcodextra.js
//Wiki SECTION ===TEST BY DrOwl== case "mwikibold": bbcodextra.insertAtCursor("\"\"" + str + "\"\""); break; //HTML SECTION
File:content\bbcodextra\bbcodextraOverlay.xul
<menuitem id="html-context-bold" style="font-weight: bold;" label="&bbcodextra.bold;" oncommand="bbcodextra.bbcodextra('htmlbold',null);"/> <menuitem id="mwiki-context-bold" style="font-weight: bold;" label="wiki.&bbcodextra.bold;" oncommand="bbcodextra.bbcodextra('mwikibold',null);"/> <menuitem id="html-context-italic" style="font-style: italic;" label="&bbcodextra.italic;" oncommand="bbcodextra.bbcodextra('htmlitalic',null);"/>
Thoughts
The above changes seem to have worked they probused the "" around the word Bold in the test page (not the right wiki code but =). I seem to be haveing a problem with ziping up the .jar god know why, it worked the first time. --DrOwl 07:16, 22 February 2007 (CET)
Road map
Add basic wiki codes: ''Itlic'', '''Bold''', [[Internal_links]], [external_links], == headings ==, Sig --~~~~
Add more advanced wiki codes: [[Internal links]], [external links], tables
Get the original developers to make the extension work from an formated file instead of hard coded function's e,g
menuName,menuItem,type(clipbord/highlighted/advansed),startCode,endCode