News for hackers. Stuff that matters.
Re:I feel like Gmail went from being Photoshop to Draw Somet... by missing_cipher on Friday May 03, 2013 @02:04PM (#5651597)
The default behavior for "Tab" on the web is to move to the next element on the Tab order.
Re:I feel like Gmail went from being Photoshop to Draw Somet... by oinksoft on Friday May 03, 2013 @04:04PM (#5652311)
The default behavior for Tab in rich text editors has been to insert a tabstop for quite some time. I think this is just a casualty of goog.editor.Editor's unconventional default behavior, which is to tab out of the field. If that is truly an oversight (not overriding this behavior), it says a lot about how the Gmail project is being run these days, because previously they did override this.
Re:I feel like Gmail went from being Photoshop to Draw Somet... by oinksoft on Friday May 03, 2013 @08:07PM (#5653374)
Just wanted to add it is goog.editor.Field, not goog.editor.Editor. When I wrote that, I told myself "don't call it goog.editor.Editor," a typo I often make in my code. I guess it's like when people look at something and then crash their car into it. Sorry about that.
Re:I feel like Gmail went from being Photoshop to Draw Somet... by esalman on Saturday May 04, 2013 @07:47AM (#5654755)
This is not default behavior for TinyMCE (http://www.tinymce.com/tryit/full.php) or cKEditor (http://ckeditor.com/demo)

But old Gmail did override this.

Re:I feel like Gmail went from being Photoshop to Draw Somet... by esrauch on Friday May 03, 2013 @10:45PM (#5653740)
Is it really unconventional though? Tab for navigation is the default behavior for HTML form inputs and contenteditable. I can't think of a website that I use that has input boxes that have tab do indent actually.
Re:I feel like Gmail went from being Photoshop to Draw Somet... by oinksoft on Friday May 03, 2013 @11:59PM (#5653949)
I think you'd be hard-pressed to find a widely used rich text editor, be it TinyMCE, CKEditor, YUI Editor or ExtJS' HtmlEditor that doesn't map the Tab key to insert a tabstop or a number of non-breaking spaces. goog.editor.Field is absolutely in the minority in that regard.

There are good design reasons for this. The goog.editor package is designed to be modular. This tab-to-indent behavior is instead provided by the goog.editor.plugins.SpacesTabHandler plugin.

As I mention before, I find it questionable that the GMail developers elected to omit this plugin. I'm not suggesting that there are some fools on the project who can't read an API. Rather, it strongly indicates that GMail is catering less and less to any approximation of the "power user", and assuming that most emails could just as well be composed in a <textarea>.

Re:I feel like Gmail went from being Photoshop to Draw Somet... by isaacaggrey on Saturday May 04, 2013 @01:22AM (#5654110)
I'm not sure if it's because they are demo versions (and my experiences echoes esrauch's), but every rich text editor you listed except YUI Editor actually does _not_ map the Tab key to insert a tabstop or spaces.

[1]: http://ckeditor.com/demo [2]: http://www.tinymce.com/tryit/basic.php [3]: http://try.sencha.com/extjs/4.1.1/docs/Ext.form.field.HtmlEd...

Re:I feel like Gmail went from being Photoshop to Draw Somet... by Munksgaard on Saturday May 04, 2013 @05:04AM (#5654524)
Indeed. All other text fields in your browsers do this, why should gmail be any different?

I agree that it would be nice to have some way to force insert a tab, but it's hardly surprising that it works the way that it does.

Re:I feel like Gmail went from being Photoshop to Draw Somet... by esalman on Saturday May 04, 2013 @07:46AM (#5654752)
The Send button is located above/before the email body. One would not expect that focus is moved to one of the previous elements instead of the immediate next element.
Re:I feel like Gmail went from being Photoshop to Draw Somet... by GhotiFish on Saturday May 04, 2013 @06:13PM (#5656488)
Actually. If tabs are set up properly, then when you press tab you should move to the next relevant field.