Opened 12 years ago
Last modified 9 years ago
#10945 new enhancement
horizontal scrollbar in "editing wiki" textareas
Reported by: | mtrocme | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | next-major-releases |
Component: | wiki system | Version: | |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hi there,
Could you please add an horizontal scrollbar to "Editing wiki" textareas
i.e. could you please change
<textarea id="text" class="wikitext" name="text" cols="80" rows="20">
to
<textarea id="text" class="wikitext" name="text" cols="80" rows="20" wrap="off">
Wrapping is really annoying when you have large arrays.
I know the "off" value of the wrap attributes is not (yet?) supported in HTML5 (http://www.w3schools.com/html5/att_textarea_wrap.asp).
But all browsers I've tried support it: Firefox(16), Opera(12), Chrome(23), Safari(5), IE(7).
And there does not seem to exist any other way to do so (css white-space:nowrap, …).
Cheers, Mathieu
Attachments (0)
Change History (4)
comment:1 by , 12 years ago
Milestone: | → next-dev-1.1.x |
---|---|
Owner: | set to |
Priority: | normal → low |
Severity: | normal → minor |
Status: | new → assigned |
comment:2 by , 10 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:3 by , 10 years ago
Milestone: | next-dev-1.1.x → next-major-releases |
---|
Retargetting tickets to narrow focus for milestone:1.2. Please move the ticket back to milestone:next-dev-1.1.x if you intend to resolve it by milestone:1.2.
comment:4 by , 9 years ago
Here is an example code which will to the job!.
<html> <body> <div style ="width: 20px; height:30px; border:1px solid black; overflow-x:scroll"> <!-- various of text here that can makes it go out the border--> </div> </body> </html>
But if you're looking to achieve this with jQuery please check this tutorial http://www.snoopcode.com/jquery/jquery-scroll-event
Replying to mtrocme:
You know you can put each cell on its own line, right?
The horizontal scrollbar … I'm not sure I like it yet though I know I sometimes wished I had one. I'll have to test it for a while.
This would require to remove
.sidebyside #text { overflow: hidden }
as well.