Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading a file into the Editor #25

Open
dionyce opened this issue Nov 26, 2021 · 1 comment
Open

Loading a file into the Editor #25

dionyce opened this issue Nov 26, 2021 · 1 comment

Comments

@dionyce
Copy link

dionyce commented Nov 26, 2021

How is It possible to load an already existing file into the streamlit-ace editor?

I am sorry, if this is not the right place to put the request. I am new to GitHub.

@zsz00
Copy link

zsz00 commented Jan 18, 2022

with open(cse_config_path, 'r') as f:
    cfg2_data = f.read()
    content = st_ace(value=cfg2_data)  

But this display is often not updated with the contents of the file change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants