[CODE] tags not working as they should
Yes, using both the BBC and RT editors.
Just have a large chunk of text, and bookend it with the [code] tags in the BBCE, or use the "formatted" option in the RTE, as below:
And example of what happens is shown in this post:
As you can see, the whole block of text is just formatted.
Also, it colours in the text, which is what the [PHP] tags should do.
I expected the [CODE] tags to contract the whole block of text into a small box, as it did in vB. One which would allow you to scroll through it, but wouldn't take up as much space as the whole text.
It "should" also keep all the text as black, not multicoloured. I say "should" since that's how we've been used to it on vB. But we don't need the [CODE] and [PHP] tags to essentially do the same thing, so a change would be beneficial; [CODE] for blocks of text (like logs), and [PHP] for actual code. Or vice-versa, if you must.
I realise that the "fomatted" option in the RTE isn't necessarily the same, but it does the same thing as the [CODE] do in the BBCE. So if this does get fixed, please don't forget to extend that to the BBCE. I don't want to have to report this again.
Or any other large block of text using the [CODE] tags.
I was not fired.
Perhaps the better alternative (bug nonwithstanding) would be to consider a feature request for a LOG BBCode tag, that drops a large block of text into a scrolling box in the same way that the vB CODE tags did? That way folks actually using the CODE tags for code don't miss out on the new features with smart syntax highlighting, but, people who need to post large log files or other big blocks of unformatted text can do so without extending post height to ridiculous levels.
Can't get enough of Overclock.net? Keep up with us on Facebook!
For any time-sensitive issues, or anything pertaining to our business operations, email is a far better way to contact me than PM. Please remember you can contact any staff member via email to their username @overclocked.net.
Well the colour formatting was more of an afterthought; the bigger issue is that it doesn't contract the text. So a block of text and/or code posted normally, and posted in [CODE] tags will both take up the same amount of space.
I was not fired.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|