Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Reduce the maximum height of a wiki edit frame to 30 rows. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | wysiwyg |
Files: | files | file ages | folders |
SHA1: |
e000f7f0fd8d90992fc45c5cc2b66840 |
User & Date: | drh 2012-08-10 23:18:44 |
Context
2012-08-11
| ||
02:33 | Improvements to the HTML beautifier. check-in: 0e57bafc user: drh tags: wysiwyg | |
2012-08-10
| ||
23:18 | Reduce the maximum height of a wiki edit frame to 30 rows. check-in: e000f7f0 user: drh tags: wysiwyg | |
23:12 | Automatically clean up the HTML that is generated by webbrowsers and by the Fossil wiki-to-html translator so that the HTML is easier to read in the wysiwyg editor. check-in: fb6f1b7b user: drh tags: wysiwyg | |
Changes
Changes to src/wiki.c.
356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
@ <hr /> blob_reset(&wiki); } for(n=2, z=zBody; z[0]; z++){ if( z[0]=='\n' ) n++; } if( n<20 ) n = 20; if( n>40 ) n = 40; if( P("wysiwyg")==0 ){ /* Traditional markup-only editing */ @ <form method="post" action="%s(g.zTop)/wikiedit"><div> @ <textarea name="w" class="wikiedit" cols="80" @ rows="%d(n)" wrap="virtual">%h(zBody)</textarea> @ <br /> @ <input type="submit" name="preview" value="Preview Your Changes" /> |
| |
356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
@ <hr /> blob_reset(&wiki); } for(n=2, z=zBody; z[0]; z++){ if( z[0]=='\n' ) n++; } if( n<20 ) n = 20; if( n>30 ) n = 30; if( P("wysiwyg")==0 ){ /* Traditional markup-only editing */ @ <form method="post" action="%s(g.zTop)/wikiedit"><div> @ <textarea name="w" class="wikiedit" cols="80" @ rows="%d(n)" wrap="virtual">%h(zBody)</textarea> @ <br /> @ <input type="submit" name="preview" value="Preview Your Changes" /> |