Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Put back the rows='%d(n)". Although an other option is, after the page has loaded, to change the offsetHeight of the text area to the height of the previewdiv. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | side-by-side-edit |
Files: | files | file ages | folders |
SHA1: |
55e7e24595982a88ada9e75839e27484 |
User & Date: | renez 2012-04-29 05:12:48.064 |
Context
2012-04-29
| ||
11:05 | Use in cgi strncmp to circumvent Firefox adding ; charset: UTF-8; changed cols to 60 especially under windows it is to big and the result is not side-by-side ... (check-in: a7a331fa user: renez tags: side-by-side-edit) | |
05:12 | Put back the rows='%d(n)". Although an other option is, after the page has loaded, to change the offsetHeight of the text area to the height of the previewdiv. ... (check-in: 55e7e245 user: renez tags: side-by-side-edit) | |
05:05 | Enable side by side editing and preview. While automatic updating of the preview 'pane'. Tested with Chrome and Firefox under Linux. Only Chrome works. ... (check-in: 20362c85 user: renez tags: side-by-side-edit) | |
Changes
Changes to src/wiki.c.
︙ | ︙ | |||
373 374 375 376 377 378 379 | @ <div id="colleft" style="width:50%%;"> } @ <form method="POST" action="%s(g.zTop)/wikiedit"> login_insert_csrf_secret(); @ <input type="hidden" name="name" value="%h(zPageName)" /> @ <div> <input type="submit" id="ssb" name="ssb" value="Toggle Side-by-side" /> @ </div><input type="hidden" name="ss" value="%d(ss)" /> | | | 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 | @ <div id="colleft" style="width:50%%;"> } @ <form method="POST" action="%s(g.zTop)/wikiedit"> login_insert_csrf_secret(); @ <input type="hidden" name="name" value="%h(zPageName)" /> @ <div> <input type="submit" id="ssb" name="ssb" value="Toggle Side-by-side" /> @ </div><input type="hidden" name="ss" value="%d(ss)" /> @ <textarea id="w" name="w" class="wikiedit" cols="70" rows="%d(n)" @ >%h(zBody)</textarea> @ <br /> if(!ss){ @ <input type="submit" name="preview" value="Preview Your Changes" /> } @ <input type="submit" name="submit" value="Apply These Changes" /> @ <input type="submit" name="cancel" value="Cancel" /> |
︙ | ︙ |