FOAP-NetMind-2022 / beetlepush

Learn JavaScript array methods
https://beetlepush.vercel.app/
Mozilla Public License 2.0
4 stars 0 forks source link

Improve JavaScript Editor limits #49

Open omiras opened 1 year ago

omiras commented 1 year ago

Description

JavaScript Editor has several display caveats.

Requirements

  1. Fix the style/component so one can't force the editor to enlarge itself widely.

image

  1. Fix the editor to maybe limit its height; or keep sections' header when a lot of code is typed image

We tried to fix this by CSS before, but we were unsuccessful. Nevertheless, you can give it a try.

For both requirements, it could be necessary to modify somehow CodeFlask component That would be interesting: modify a thrid-party component to meet or requirements.

omiras commented 1 year ago

Some updates on this. I tried to clone the main CodeFlask project to modify it and fix this issue. It seems that the project has been largely unattended. Some of the fixes were not applied https://github.com/kazzkiq/CodeFlask/issues

I also tried to manually apply some of them, but I was unsuccessful. I think we may change the JavaScript editor entirely.

omiras commented 1 year ago

This one looks quite promising; https://ace.c9.io/