Apache Airflow version: apache/airflow:2.1.2-python3.9 and 2.1.0-python3.8
Environment:
- Cloud provider or hardware configuration: Docker for Windows, AWS ECS
- OS (e.g. from /etc/os-release): Windows 10, AWS ECS Fargate
- Install tools: docker compose, ECS
- Others: Web browsers: tested this on Chrome and Brave.
What happened:
The Toggle Wrap button on the DAG code page is not working.
What you expected to happen:
It should toggle between wrapped/unwrapped code blocks.
How to reproduce it:
- Spin up an airflow environment using the official docker compose file with DAG examples enabled.
- Open code page for any DAG that uses the [START xyz] [END xyz] blocks in its source code.
- Click on the
Toggle Wrap button in the top right corner of the code.

Additional remarks
This feature seems to be working totally fine on the TI logs, and by looking at the code they are re-using the same function.
Apache Airflow version:
apache/airflow:2.1.2-python3.9and2.1.0-python3.8Environment:
What happened:
The
Toggle Wrapbutton on the DAG code page is not working.What you expected to happen:
It should toggle between wrapped/unwrapped code blocks.
How to reproduce it:
Toggle Wrapbutton in the top right corner of the code.Additional remarks
This feature seems to be working totally fine on the TI logs, and by looking at the code they are re-using the same function.