First of all, this is awesome. Great idea, can't believe it hasn't been around till now, and will definitely be using it.
The only thing I could change here is the "x" icon when expanded. Someone mentioned here that they would be unnerved hitting an "x" button with a lot of text - this is definitely valid, I felt the same thing when trying it out. A simple change to an "exit full screen" icon (like this http://findicons.com/files/icons/1667/iconic/32/fullscreen_e...), would solve the problem nicely : )
I will second it. I would also move it on the bottom right, as I didn't look at it except with my peripheral vision and thought it was an X/close button. When instructions said to click it, I went from "why would I click the close button" to "oh, it's actually a fullscreen button" before I clicked it. I never would have discovered it.
The fact it has no borders in "full screen mode" is really disorientating. I like the concept but wouldn't use it because of the loss of visual feedback (but full screen mode is optional which is fine).
As an aside: It is a shame this "breaks" Chrome's ability to let you re-scale the non-full-screen box. So it is an all or nothing choice, you have to give up something to get something...
It looks like you disabled Chrome's resizing on purpose too, which seems unnecessary/annoying. Why break existing functionality just to add new functionality?
>It looks like you disabled Chrome's resizing on purpose too, which seems unnecessary/annoying. Why break existing functionality just to add new functionality?
That functionality can be re-enabled by changing the "resize" CSS style[0].
From a quick look, it looks like it's reasonably simple to add resizing back in. The CSS on the textarea has resize:none - removing that and removing the max-width should add that functionality back in, should you want it.
It should be trivial to get the resize functionality back. I think in cases like this breaking existing functionality is fine. This is obviously aimed at people with a relatively narrow use-case in mind. In a situation where the purpose of full screen mode is to remove the distractions of the surrounding document this seems fine. I personally would want my text box at a fixed size on some forms with the option to make it the only thing on the page (case in point is my own app https://writeapp.me [yes, an account is needed to see the text box]) so as to keep the design from breaking (it's a very opinionated page when it comes to design).
I think overall this is an improvement to text boxes generally which is why I can forgive the breakage of one bit of existing functionality.
Wait, what? 2kb JS? 4kb CSS? Why does this take so much?
I use a similar fullscreen textarea toggle (actually an ACE editor), that is very simple. For the Javascript, you just need to add a new class to the text area. For the CSS, you need to make the '.fullscreen' class the following:
Now, this doesn't get you the little button in the upper right corner and the styling for the full screen textarea, but it is very functional, very configurable (just style with CSS), and quite small. Add a small button of your own and let the browser do all of the heavy work, by just adding a CSS class.
Oh, and this doesn't break Chrome/webkit's ability to resize the textarea when not in fullscreen mode...
Very nice, going to use this in a project now, so thanks a lot for this. It would be fully featured and extra sweet for me with some kind of lightweight feature to save a local backup of entered text. :)
Somewhat broken on android for me - maximise in landscape, rotate the phone, and it goes Wrong. The text wrapping doesn't realign, and the close button is left off screen.
For me the expanded text area takes over my whole window, but I can't type as much text before hitting a line break as I can with the normal text area.
And when I'm typing into a browser, I'm usually replying to something. Being able to read that thing I'm replying to as I'm typing has a lot of value to me.
Yeah, but it stays where it is. So if there are parts that would overlap it, they do that. A particular example here is Reddit, in deeply nested threads on smaller windows you can see maybe 30-40% of the textarea. Maybe someone will make a Chrome extension out of this :)
Excellent. Nothing sucks more than having to use a tiny textbox or fiddle with a resizeable one when you are trying to write something longer than a few lines. It would be nice if it used localstorage to remember whether the user prefers dark or light.
Personally, I prefer having my browser launch an external editor for textareas. However, this is better for most people because it does not require any installation or configuration.
Love the control, but hate that the page's text is kept down to a dim 40% opacity when the mouse isn't on top. I have weird mousing habits when reading blocks of text (I move the mouse around and click random things), and it's distracting to have the text fade out when my cursor ventures off course; I practically have to squint to read what the ultralight and not-quite-opaque text says when faded out.
This looks great! One suggestion is that in full screen mode, the textarea doesn't stretch across the screen (it's a centered column) but since there are no borders it is hard to tell where the active area is. I think that clicking on the empty space outside of the main column could give focus to the textare, and that would have made it more clear for me.
Very cool. Reminds me of http://www.ommwriter.com/. I like using minimal text editors like this when I'm brainstorming or making a first pass at something; good for simple, distraction-free writing. Cheers
This is awesome but it would be great if it also expanded as you type. Like on Facebook when you are typing a status update that is long. The box expands vertically as you type. Neat feature. If it could do that, this thing would be rock solid.
Reminds me of Hallo.js, which uses the Randy js library if I'm not mistaken. I used it to make a blog for my elderly father. The goal was to make the posts easily editable.
I'm assuming you can style colours, width of text in the wide editor, etc? Going back to the small window with an "X" would be a bit unnerving with lots of text typed in.
Yeah you can simply create your preferred color scheme and use it.
I will release more better version next days and also an small blog post to how write an color scheme for WideArea.
The only thing I could change here is the "x" icon when expanded. Someone mentioned here that they would be unnerved hitting an "x" button with a lot of text - this is definitely valid, I felt the same thing when trying it out. A simple change to an "exit full screen" icon (like this http://findicons.com/files/icons/1667/iconic/32/fullscreen_e...), would solve the problem nicely : )