lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Feat]: Add code editor as a standalone component

Open Nangelov7 opened this issue 4 months ago • 2 comments
trafficstars

Proposed changes

This PR introduces the initial version of a standalone code editor component that can be integrated into low-code applications. The code editor supports theme switching, syntax highlighting, multi-language support, a minimap for code navigation, sticky scroll for header visibility, code folding for better readability, and a read-only mode for viewing code without editing.

Issue: #1448

Screenshot 2025-07-05 210943 Screenshot 2025-07-05 211012 Screenshot 2025-07-05 211417

Types of changes

What types of changes does your code introduce to Lowcoder?
Put an x in the boxes that apply.

  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [x] Documentation Update (if none of the other choices apply)

Checklist

You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
Put an x in the boxes that apply.

  • [x] Lint and unit tests pass locally with my changes
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added necessary documentation (if appropriate)
  • [ ] Any dependent changes have been merged and published in downstream modules

Nangelov7 avatar Jul 05 '25 18:07 Nangelov7