Difference between revisions of "Bdo"

From Online Manual

Jump to: navigation, search
(line break will make it wrap better in the list of all bb codes)
Line 4: Line 4:
 
|description= use the HTML <nowiki><bdo></nowiki> tag to override the default text direction
 
|description= use the HTML <nowiki><bdo></nowiki> tag to override the default text direction
 
|parameters= '''rtl''' or '''ltr''', for selecting the text direction
 
|parameters= '''rtl''' or '''ltr''', for selecting the text direction
|example= Here is some text in the default direction and [bdo=rtl]Here is some right-to-left text[/bdo]
+
|example= Here is some text in the default direction and<br/> [bdo=rtl]Here is some right-to-left text[/bdo]
|result= Here is some text in the default direction and <span style="direction:rtl; unicode-bidi:bidi-override;">Here is some right-to-left text</span>
+
|result= Here is some text in the default direction and<br/>
 +
<span style="direction:rtl; unicode-bidi:bidi-override;">Here is some right-to-left text</span>
 
}}
 
}}
 
[[Category:Bulletin_Board_Code]]
 
[[Category:Bulletin_Board_Code]]

Revision as of 21:28, 3 May 2014

type: [bdo=xyz]parsed content[/bdo]

description: use the HTML <bdo> tag to override the default text direction

parameters:

rtl or ltr, for selecting the text direction

example: Here is some text in the default direction and
[bdo=rtl]Here is some right-to-left text[/bdo]

result: Here is some text in the default direction and
Here is some right-to-left text