Overview
Comment: | Make sure we are initializing the editor when the textarea is there, not before |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
89acfade4b8d73c8f515976959090960 |
User & Date: | bohwaz on 2023-03-23 12:06:49 |
Other Links: | manifest | tags |
Context
2023-03-24
| ||
12:28 | Add styles to disable fieldsets check-in: 3f00f2d8d6 user: bohwaz tags: trunk, stable | |
2023-03-23
| ||
12:06 | Make sure we are initializing the editor when the textarea is there, not before check-in: 89acfade4b user: bohwaz tags: trunk, stable | |
2023-03-22
| ||
18:30 | Use CSS flex to display two-columns DL class="describe", improve styling of transaction details check-in: 7e379481a2 user: bohwaz tags: trunk, stable | |
Changes
Modified src/www/admin/static/scripts/web_editor.js from [d55a6e757f] to [aed47c8703].
︙ | ︙ | |||
19 20 21 22 23 24 25 | }, 3000); window.setTimeout(() => { c.remove(); }, 3500); } | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | }, 3000); window.setTimeout(() => { c.remove(); }, 3500); } function init() { var t = new textEditor('f_content'); t.parent = t.textarea.parentNode; var config = { fullscreen: t.textarea.getAttribute('data-fullscreen') == 1, attachments: t.textarea.getAttribute('data-attachments') == 1, savebtn: t.textarea.getAttribute('data-savebtn'), |
︙ | ︙ | |||
345 346 347 348 349 350 351 352 353 | t.shortcuts.push({ctrl: true, key: 'l', callback: insertURL}); t.shortcuts.push({ctrl: true, key: 's', callback: save}); t.shortcuts.push({ctrl: true, key: 'p', callback: openPreview}); t.shortcuts.push({key: 'F1', callback: openSyntaxHelp}); t.shortcuts.push({key: 'Escape', callback: openPreview}); g.setParentDialogHeight('90%'); }); }()); | > > > > | 345 346 347 348 349 350 351 352 353 354 355 356 357 | t.shortcuts.push({ctrl: true, key: 'l', callback: insertURL}); t.shortcuts.push({ctrl: true, key: 's', callback: save}); t.shortcuts.push({ctrl: true, key: 'p', callback: openPreview}); t.shortcuts.push({key: 'F1', callback: openSyntaxHelp}); t.shortcuts.push({key: 'Escape', callback: openPreview}); g.setParentDialogHeight('90%'); } g.onload(() => { g.script('scripts/lib/text_editor.min.js', init); }); }()); |