2.1 Editor Needs A Few More Buttons

Started by Xarcell, January 01, 2014, 04:16:23 PM

Previous topic - Next topic

Xarcell

This a request for more buttons.

H4,
H5,
H6,
P
Float-Left (requires overflow:auto to parent element)
Float-Right (requires overflow:auto to parent element)
Justify
Embed YouTube Video (the code is already there in the editor)

Arantor

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.
Holder of controversial views, all of which my own.

shadow82x

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.
Colin B
Former Spammer, Customize, & Support Team Member

Kindred

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
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

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.
Holder of controversial views, all of which my own.

Xarcell

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**

LOPar

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...

Arantor

And you can't turn them off in the admin panel already or anything...
Holder of controversial views, all of which my own.

Kindred

To translate what Arantor is saying...

You CAN turn them off in the admin panel - so they indeed are already "optional"
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

LOPar

Nah, not all of them. Just about a half of them. Or I dunno something? 0_o

Arantor

In the admin panel you can disable bbcode you don't use. Disabling the code also disables the button.
Holder of controversial views, all of which my own.

LOPar

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.

Advertisement: