Skip to content

Cannot create new .html file in editor #1749

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

Closed
catarak opened this issue Feb 1, 2021 · 4 comments · Fixed by #1758
Closed

Cannot create new .html file in editor #1749

catarak opened this issue Feb 1, 2021 · 4 comments · Fixed by #1758

Comments

@catarak
Copy link
Member

catarak commented Feb 1, 2021

By the way, I've just observed that it is also not possible to create or rename a file with .html extension. It can be useful to have the possibility to add .html pages to a project, in order to show and let students experiment the opportunity of different graphic user interfaces and different modules into a same project.

Thanks for all your work and this of others on this great tool!

Originally posted by @Wildernesss in #1741 (comment)

I've noticed that you can upload an html file and rename them, but you cannot create an html file. I believe this is because it's missing from the variable TEXT_FILE_REGEX.

@catarak catarak changed the title Cannot create new .html file in webditor Cannot create new .html file in editor Feb 1, 2021
@MohdImran001
Copy link
Contributor

@catarak, I would love to work on it.

@MohdImran001
Copy link
Contributor

@catarak , Can I work on it ?

@frappelatte28
Copy link
Contributor

@catarak TEXT_FILE_REGEX is working fine i have checked it online with this online tester. There might be some other issue.

@frappelatte28
Copy link
Contributor

@catarak i figured it out , its the problem with CREATE_FILE_REGEX assosiated with new-form component !
I have attached a PR to solve the same.

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