]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/word_wrap.mdwn
Fix python proxy to not crash when fed unicode data in getstate and setstate.
[ikiwiki.git] / doc / bugs / word_wrap.mdwn
1 Web browsers don't word-wrap lines in submitted text, which makes editing a
2 page that someone wrote in a web browser annoying (`gqip` is vim user's
3 friend here). Is there any way to improve this?
4
5 > See "using the web interface with a real text editor" on the [[tips]]
6 > page. --[[JoshTriplett]]
7
8 >> Would it be useful to allow a "max width" plugin, which would force on commit the split of long lines ?
9
10 >>> Please, no.  That would wreak havoc on code blocks and arguments to
11 >>> preprocessor directives, and it would make bulleted lists and quoted
12 >>> blocks look bogus (because the subsequent lines would not match), among
13 >>> other problems.  On the other hand, if you want to propose a piece of
14 >>> client-side JavaScript that looks at the active selection in a text area
15 >>> and word-wraps it, and have a plugin that adds a "Word-Wrap Selection"
16 >>> button to the editor, that seems fine. --[[JoshTriplett]]