This a request for more buttons.
Float-Left (requires overflow:auto to parent element)
Float-Right (requires overflow:auto to parent element)
Embed YouTube Video (the code is already there in the editor)
Firstly, for every new editor button = new bbcode that has to be implemented = parse_bbc gets slower.
Secondly, h4 and h5 tags are already in use in posts. Not saying it's right, not saying it's wrong, but implementing those as bbc will cause problems for SEO with the hierarchy being incorrect. (Mind you, it's already completely shot to hell anyway because the h1 is almost always inappropriate)
p tags... yes because users are always going to wrap everything in paragraphs because not everyone uses the editor. And before we get into 'let's auto convert what-are-probably-paragraphs into actual paragraphs', there are issues with that in terms of upgrades and conversions since every single post would have to be changed, not to mention the fact that some people actually like being able to have some control over their posts without having to jump through hoops. If I want to have two lines of spacing between paragraphs to indicate a distance between them (which I do, quite regularly), I can't do so with paragraph tags in posts.
Why do we need float tags? What purpose would having them serve in posts?
Right now the only one I'm in agreement with is the YT tag. Show me what benefit there would be to adding them other than 'more options', because more certainly is not automagically better.
I agree that only a media/youtube BBC could be quite useful...I could see majority of forums using it regardless of what the content is. Another interesting discussion would be potentially adding undo/redo buttons and maybe even a spoiler BBC.
Even though something like the spoiler tag may not be too popular on every site, it would definitely be more useful than having the glow, FTP, shadow, marquee BBC. I mean when was the last time someone used one of those bbc's other than just testing it? If we removed stuff like that from parse_bbc we can make room for more useful things.
I disagree with the media button...
for one... it would require a patch to be released when they (again) change their embed interface (see all of the complaints int he aeva thread regarding youtube and the http versus https default urls..)
I dunno about spoiler. don't care one way or the other - but I know that it would be turned off on any forum that I run.
undo/redo... that should actually be handled on the browser side, not the editor side, IMO
For one - no, it wouldn't. The media button is already supported by SCEditor, and just embeds to [youtube]videoid[/youtube] or similar. It's not the same as the Aeva issue where it has to be detected out of bare URL strings.
For spoilers... I can see the use of a spoiler tag. But there's two issues, not one. Dropping glow/shadow/move is a separate question to including a spoiler, though I'm actually inclined to agree with dropping those :P But spoiler tags do have a use for preventing mahooooooooosive posts unless the user wants to see them.
undo/redo need more care from the editor than simply relying on the browser because of the way contenteditable works.
I only propose the H & P tags for semantic reasons. These really should be there, but I see your point. Really the default theme needs a overall, but there is no point in trying to squeeze it in 2.1. Between those tags and floats, they allow the user create richly layed-out posts. Although, I keep forgetting that SMF doesn't care about that, because it's a forum not a blog.
If your worried about slow bbc parsing, then I request the dropping of the glow, shadow, marquee, and teletype(depreciated in HTML5) tags. I also question the FTP button?
I'm all for a spoiler tag, although I have to say I've never used it, but I also see a massive amount of others using it or requesting it.
So overall you could end up adding 2 useful buttons, while removing 4 non-useful buttons or possibly even 5 useful buttons.
EDIT: addressing undo/redo, this is something I would request from Sam Clarke, before requesting it from SMF.
EDIT AGAIN: I would also like to request a "footnote" button. **coughs**
QuoteIf your worried about slow bbc parsing, then I request the dropping of the glow, shadow, marquee, and teletype(depreciated in HTML5) tags. I also question the FTP button
IMHO the buttons should be all optional. Our members use less than 10 of them. Some of the buttons never used by them for years...
And you can't turn them off in the admin panel already or anything...
To translate what Arantor is saying...
You CAN turn them off in the admin panel - so they indeed are already "optional"
Nah, not all of them. Just about a half of them. Or I dunno something? 0_o
In the admin panel you can disable bbcode you don't use. Disabling the code also disables the button.
Oh my! I never thought, that it can be used in that way. Thanx a lot.
Maybe it's because there are more bbcodes in admin panel then in Editor - this option is not obvious.