Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| SHA1 Hash: | e000f7f0fd8d90992fc45c5cc2b6684036d9b608 |
|---|---|
| Date: | 2012-08-10 23:18:44 |
| User: | drh |
| Comment: | Reduce the maximum height of a wiki edit frame to 30 rows. |
Tags And Properties
- branch=wysiwyg inherited from [6cd9847f54]
- sym-wysiwyg inherited from [6cd9847f54]
Changes
Changes to src/wiki.c
356 @ <hr /> 356 @ <hr /> 357 blob_reset(&wiki); 357 blob_reset(&wiki); 358 } 358 } 359 for(n=2, z=zBody; z[0]; z++){ 359 for(n=2, z=zBody; z[0]; z++){ 360 if( z[0]=='\n' ) n++; 360 if( z[0]=='\n' ) n++; 361 } 361 } 362 if( n<20 ) n = 20; 362 if( n<20 ) n = 20; 363 if( n>40 ) n = 40; | 363 if( n>30 ) n = 30; 364 if( P("wysiwyg")==0 ){ 364 if( P("wysiwyg")==0 ){ 365 /* Traditional markup-only editing */ 365 /* Traditional markup-only editing */ 366 @ <form method="post" action="%s(g.zTop)/wikiedit"><div> 366 @ <form method="post" action="%s(g.zTop)/wikiedit"><div> 367 @ <textarea name="w" class="wikiedit" cols="80" 367 @ <textarea name="w" class="wikiedit" cols="80" 368 @ rows="%d(n)" wrap="virtual">%h(zBody)</textarea> 368 @ rows="%d(n)" wrap="virtual">%h(zBody)</textarea> 369 @ <br /> 369 @ <br /> 370 @ <input type="submit" name="preview" value="Preview Your Changes" /> 370 @ <input type="submit" name="preview" value="Preview Your Changes" />