Search found 367 matches

by JoshyPHP
Fri Apr 07, 2017 6:08 pm
Forum: [3.x] Style Development
Topic: Some minor full editor improvements
Replies: 20
Views: 17785

Re: Some minor full editor improvements

No, you need to do it in an extension. Something like that but with Litedown instead of FancyPants.
by JoshyPHP
Fri Apr 07, 2017 9:56 am
Forum: [3.x] Style Development
Topic: Some minor full editor improvements
Replies: 20
Views: 17785

Re: Some minor full editor improvements

allow the current default BBCODES to parse into markdown equivalents and then parse it through markdown ;) You don't have to turn one into the other. If you toggle the Litedown you get most of the Markdown syntax alongside normal BBCodes. You can try it out in Flarum's sandbox if you're wondering: ...
by JoshyPHP
Thu Mar 30, 2017 4:28 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 143915

Re: [RFC] Integrate s9e\TextFormatter

Don't wanna abuse your help but a point in the right direction on where to look for about the error (Text formatter? phpbb 3.2?...), would be helpful. The best way would be to post in the 3.2 support forum with the exact definition of your BBCode, what you type in the post editor to test it, what y...
by JoshyPHP
Thu Mar 30, 2017 1:16 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 143915

Re: [RFC] Integrate s9e\TextFormatter

COLOR doesn't accept empty strings so it works as intended but if you use a token that accepts empty strings you can do something like @ref != ''. You can't use the token itself (e.g. {COLOR}) in XPath expressions though.
by JoshyPHP
Tue Mar 28, 2017 10:43 pm
Forum: [3.x] Style Development
Topic: ICONS - How to handle SVG explained
Replies: 20
Views: 18863

Re: ICONS - How to handle SVG explained

These would then be included into the template header just after the body tag. That would mean that every icon would be included in every page. How about storing it in a static file? You can still reference the symbols via xlink, e.g. <svg class="o-icon" aria-hidden="true"> <use xlink:href="/path/t...
by JoshyPHP
Tue Mar 28, 2017 10:12 pm
Forum: [3.x] Tickets Discussion
Topic: PHPBB3-14740 BBCode still parses wrong
Replies: 19
Views: 17044

Re: PHPBB3-14740 BBCode still parses wrong

The PR mentions it was superseded (replaced) by that one: https://github.com/phpbb/phpbb/pull/4631

I think it was merged after 3.2.0 was released, can't recall exactly.
by JoshyPHP
Sat Mar 04, 2017 7:56 pm
Forum: [3.x] Tickets Discussion
Topic: PHPBB3-13919 - Syntax highlighting in [code]
Replies: 25
Views: 31629

Re: PHPBB3-13919 - Syntax highlighting in [code]

The extension only loads highlight.js from a CDN without modifying any BBCodes. highlight.js does its own auto-detection, it doesn't require a language hint although I believe it uses it if present. Is there a reason you want to use the language as class name?
by JoshyPHP
Sun Feb 19, 2017 2:28 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 143915

Re: [RFC] Integrate s9e\TextFormatter

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]
by JoshyPHP
Sun Jan 22, 2017 5:55 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 143915

Re: [RFC] Integrate s9e\TextFormatter

You can be useful by handling the PR from start to finish. The best way to handle multiple BBCode definitions with the same name may be to replace them with a definition that covers both use case, and do so as a migration. So far I've seen two different use cases: The [url] BBCode requires a value f...