[GH-ISSUE #732] Editing in Advanced Editor loses indentation #502

Closed
opened 2026-03-02 15:59:16 +03:00 by kerem · 2 comments
Owner

Originally created by @teoeugene on GitHub (Feb 23, 2022).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/732

In the past couple of months, I noticed on websites where I use the tinymanager, I'm unable to see any indentation in the code. If I edit in Advanced Editor and save the file, the file loses all indentation too. The only way to avoid this is to use the normal editor.

I've updated to the latest version (2.4.7) and still shows the same issue on Chrome and Firefox.

Originally created by @teoeugene on GitHub (Feb 23, 2022). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/732 In the past couple of months, I noticed on websites where I use the tinymanager, I'm unable to see any indentation in the code. If I edit in Advanced Editor and save the file, the file loses all indentation too. The only way to avoid this is to use the normal editor. I've updated to the latest version (2.4.7) and still shows the same issue on Chrome and Firefox.
kerem closed this issue 2026-03-02 15:59:17 +03:00
Author
Owner

@teoeugene commented on GitHub (Feb 23, 2022):

Here's a sample file from WordPress that shows how it looks when viewed and how it looks when editing.

image

<!-- gh-comment-id:1048399249 --> @teoeugene commented on GitHub (Feb 23, 2022): Here's a sample file from WordPress that shows how it looks when viewed and how it looks when editing. ![image](https://user-images.githubusercontent.com/19911944/155252967-5f746de1-9175-45b8-b23a-8d84025c1bbe.png)
Author
Owner

@teoeugene commented on GitHub (Mar 2, 2022):

I found out that Cloudflare was causing the issue. It might have been a change on their side as this didn't happen before.

After adding rules to disable performance and caching specifically for the file-manager's directory path, the editor works as normal again.

<!-- gh-comment-id:1056240817 --> @teoeugene commented on GitHub (Mar 2, 2022): I found out that Cloudflare was causing the issue. It might have been a change on their side as this didn't happen before. After adding rules to disable performance and caching specifically for the file-manager's directory path, the editor works as normal again.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#502
No description provided.