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

Collapsible code editors in panel options #179

Open
PhilippDehner opened this issue Mar 4, 2024 · 3 comments
Open

Collapsible code editors in panel options #179

PhilippDehner opened this issue Mar 4, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@PhilippDehner
Copy link

What would you like to be added:

The code editors in the panel options should be collapsible.

Why is this needed:

  • Many times I have to edit the html and the onInit. In this case I have to scroll many times over the onRender block.
  • If I want to scroll over the code blocks, I have to move my mouse outside of the code blocks to not scroll in the code.
@ZuperZee ZuperZee added enhancement New feature or request good first issue Good for newcomers labels Mar 4, 2024
@PhilippDehner
Copy link
Author

Or like the aidanmountford-html-panel, here are the html (html and css) and events (onRender and onInit) grouped in two seperate groups

@ZuperZee
Copy link
Contributor

ZuperZee commented Apr 3, 2024

Would you also like the options for onInit to be in the same collapsible section as the onInit code?
image

@PhilippDehner
Copy link
Author

@ZuperZee Yes, I would do it like that. But maybe it is better to just collapse the monaco editor...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants