Opened 14 years ago
Closed 10 years ago
#11735 closed enhancement (wontfix)
unwrap text in theme and plugin editors
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | lowest | |
Severity: | minor | Version: | 3.0 |
Component: | Themes | Keywords: | |
Focuses: | Cc: |
Description
Anyone who actually has to do any editing in these boxes must know what a pain word wrap is, especially when dealing with PHP that's tab-indented a few times.
A little CSS is all that's needed for the appropriate textarea elements:
white-space: nowrap; overflow: auto;
Change History (3)
#1
@
14 years ago
- Cc edward mindreantre added
- Component changed from Administration to Themes
- Milestone changed from Unassigned to Future Release
- Priority changed from normal to lowest
#2
@
13 years ago
There used to be a cool editor that had code coloring, but it got killed because it wasn't working in Opera or something... It'd be nice to bring back something similar.
Bespin/Skywriter/ACE is looking pretty cool... but it's early and FF/Webkit focus so far.
TinyMCE might work... but only without wpautop! (laughing just thinking about it.)
Note: See
TracTickets for help on using
tickets.
Actually that doesn't work.
white-space: nowrap takes care of actual HTML elements. The text inside a textarea is not html therefore isn't affected by nowrap.
In fact, CSS has no attributes for textareas when it comes to wrapping.
There is a "solution": wrap="off" as a textarea setting.
The problem is that it's non-standard although understood by both Firefox and IE.
So now you've got a choice:
I vote for #3.
#2 is also acceptable, since I doubt people are gonna commit suicide waiting for tinymce to load.