(flag)
| 424 | |
| 425 | let previewContent = false; |
| 426 | function togglePreview(flag) { |
| 427 | previewContent = !previewContent; |
| 428 | document.body.classList.toggle("preview", previewContent); |
| 429 | } |
| 430 | let formatContent = false; |
| 431 | function toggleFormat(flag) { |
| 432 | formatContent = !formatContent; |