[RFC] Integrate s9e\TextFormatter

These requests for comments/change have lead to an implemented feature that has been successfully merged into the 3.2/Rhea branch. Everything listed in this forum will be available in phpBB 3.2.
Post Reply
User avatar
rxu
Registered User
Posts: 120
Joined: Tue Apr 04, 2006 4:28 pm
Contact:

Re: [RFC] Integrate s9e\TextFormatter

Post by rxu » Sun Feb 19, 2017 12:30 pm

If you try to put the following text into the code bbcode tags:
var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[url]','[/url]', '[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);

you get this:

Code: Select all

var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
  • ','
','
  • ','
','','', '[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);[/code]
Image

User avatar
JoshyPHP
Registered User
Posts: 328
Joined: Fri Jul 08, 2011 9:43 pm

Re: [RFC] Integrate s9e\TextFormatter

Post by JoshyPHP » Sun Feb 19, 2017 2:28 pm

Yes, [code][/code][/code] will produce an empty code block followed by [/code].

You can pair BBCode tags by appending a colon and a unique number to their name, e.g. [code:123][/code][/code:123]

Code: Select all

[/code]
Image Image

User avatar
rxu
Registered User
Posts: 120
Joined: Tue Apr 04, 2006 4:28 pm
Contact:

Re: [RFC] Integrate s9e\TextFormatter

Post by rxu » Sun Feb 19, 2017 2:36 pm

Thanks. There's a lot of things we still don't know about that stuff.

Code: Select all

var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[url]','[/url]', '[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests