1
Olorin
Great Opera extension: BBCode&WikiSyntax
  • 2004/10/8 9:32

  • Olorin

  • Just popping in

  • Posts: 50

  • Since: 2003/7/5 1


If you use Firefox, go to this thread:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=22116&forum=7&post_id=96676#forumpost96676

If you are Opera user, you can make the most of its flexibility!

Paste the following lines on your "menu.ini":
[Edit Widget Popup Menu]
Submenu67653Edit Widget Insert Menu
Submenu
67654Internal Note List
--------------------
1
Submenu
"BB Code"BBCode
Submenu
"Wiki"Pukiwiki
--------------------1
Item
50864=Undo
Item
68116=Redo
--------------------2
Item
50865=Cut
Item
50866=Copy
Item
50867=Paste
Item
50868=Delete
--------------------3
Item
67652=Copy to note
--------------------4
Item
67655=Clear
Item
50869=Select all
Platform Windows
-Unix-QNX, --------------------5
Platform Windows
-Unix-QNXItem69620=Spell check


[BBCode]
Item"[quote]"=Insert"[quote]" Paste Insert"[/quote]"
Item"[img]"=Insert"[img align=left]" Paste Insert"[/img]"
Item"[img-tag]"=Insert"[img][/img]"
Item"[url]"=Insert"[url=" Paste Insert"][/url]"
Item"[url-tag]"=Insert"[url][/url]"
Item"[code]"=Insert"[code][/code]"
Item"[list]"=Insert"[list][*][*][*][/list]"
Submenu"Formatting"Formatting

[Formatting]
Item"[b]"=Cut Insert"[b]" Paste Insert"[/b]"
Item"[i]"=Cut Insert"[i]" Paste Insert"[/i]"
Item"[u]"=Cut Insert"[u]" Paste Insert"[/u]"
Item"[d]"=Cut Insert"[d]" Paste Insert"[/d]"
Submenu"Size"Formatting Size
Submenu
"Color"Formatting Color
Submenu
"Font"Formatting Font

[Formatting Size]
Item"[size xxSmall]"=Cut Insert"[size=xx-small]" Paste Insert"[/size]"
Item"[size xSmall]"=Cut Insert"[size=x-small]" Paste Insert"[/size]"
Item"[size Small]"=Cut Insert"[size=small]" Paste Insert"[/size]"
Item"[size Large]"=Cut Insert"[size=medium]" Paste Insert"[/size]"
Item"[size Largest]"=Cut Insert"[size=large]" Paste Insert"[/size]"
Item"[size xLargest]"=Cut Insert"[size=x-large]" Paste Insert"[/size]"
Item"[size xxLargest]"=Cut Insert"[size=xx-large]" Paste Insert"[/size]"

[Formatting Color]
Item"Blue"=Cut Insert"[color=blue]" Paste Insert"[/color]"
Item"Red"=Cut Insert"[color=red]" Paste Insert"[/color]"
Item"Purple"=Cut Insert"[color=purple]" Paste Insert"[/color]"
Item"Orange"=Cut Insert"[color=orange]" Paste Insert"[/color]"
Item"Yellow"=Cut Insert"[color=yellow]" Paste Insert"[/color]"
Item"Gray"=Cut Insert"[color=gray]" Paste Insert"[/color]"
Item"Green"=Cut Insert"[color=green]" Paste Insert"[/color]"

[Formatting Font]
Item"Arial"=Cut Insert"[font=arial]" Paste Insert"[/font]"
Item"Verdana"=Cut Insert"[font=verdana]" Paste Insert"[/font]"
Item"Courier"=Cut Insert"[font=courier]" Paste Insert"[/font]"
Item"Impact"=Cut Insert"[font=impact]" Paste Insert"[/font]"
Item"Geneva"=Cut Insert"[font=geneva]" Paste Insert"[/font]"
Item"Optima"=Cut Insert"[font=optima]" Paste Insert"[/font]"

[Pukiwiki]
Item"[img]"=Insert"&ref(" Paste Insert",center);"
Item"
"=Insert"
" 
Item"def-list"=Insert":|"
Submenu"Formatting"Syntax

[Syntax]
Item"[b]"=Cut Insert"''" Paste Insert"''"
Item"[i]"=Cut Insert"'''" Paste Insert"'''"
Item"[u]"=Cut Insert"%%%" Paste Insert"%%%"
Item"[d]"=Cut Insert"%%" Paste Insert"%%"
Submenu"Size"Syntax Size
Submenu
"Color"Syntax Color
Submenu
"Font"Syntax Font

[Syntax Size]
Item"xxSmall"=Cut Insert"&size(xx-small){" Paste Insert"};"
Item"xSmall"=Cut Insert"&size(x-small){" Paste Insert"};"
Item"Small"=Cut Insert"&size(small){" Paste Insert"};"
Item"Medium"=Cut Insert"&size(medium){" Paste Insert"};"
Item"Large"=Cut Insert"&size(large){" Paste Insert"};"
Item"xLarge"=Cut Insert"&size(x-large){" Paste Insert"};"
Item"xxLarge"=Cut Insert"&size(xx-large){" Paste Insert"};"

[Syntax Color]
Item"Blue"=Cut Insert"&color(blue){" Paste Insert"};"
Item"Red"=Cut Insert"&color(red){" Paste Insert"};"
Item"Purple"=Cut Insert"&color(purple){" Paste Insert"};"
Item"Orange"=Cut Insert"&color(orange){" Paste Insert"};"
Item"Yellow"=Cut Insert"&color(yellow){" Paste Insert"};"
Item"Gray"=Cut Insert"&color(gray){" Paste Insert"};"
Item"Green"=Cut Insert"&color(green){};"

[Syntax Font]
Item"Arial"=Cut Insert"&font(Arial){" Paste Insert"};"
Item"Verdana"=Cut Insert"&font(Verdana){" Paste Insert"};"
Item"Courier"=Cut Insert"&font(Courier){" Paste Insert"};"
Item"Impact"=Cut Insert"&font(Impact){" Paste Insert"};"
Item"Geneva"=Cut Insert"&font(Geneva){" Paste Insert"};"
Item"Optima"=Cut Insert"&font(Optima){" Paste Insert"};"


default WikiSyntax is configured for Pukiwiki. So if you use wakka, phpwiki, or wiwi, you can change the certain values to meet your need.

By the way, isn't there a way to disable BBcode in code without replacing "[" & "]" with "#???" ?

Well...Thx for forcing me to wait for 30 seconds... I'm not a spammer...I just forgot turning on Referrer... lol

2
hervet
Re:Great Opera extension: BBCode&WikiSyntax
  • 2004/10/8 10:52

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hello,

And here is one for Mozilla :
http://jedbrown.net/mozilla/extensions/#BBCode

Bye,
Hervé

Login

Who's Online

251 user(s) are online (192 user(s) are browsing Support Forums)


Members: 0


Guests: 251


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits