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

Add format code option to JS editor #1817

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from

Conversation

jingbof
Copy link

@jingbof jingbof commented Sep 8, 2024

Description

This PR adds a format code option to the JavaScript Code editor to improve code readability.

Changes

  • Add a format code button to the JS editor
  • Integrate with js-beautify

Result

Before After

haikbvn and others added 9 commits April 5, 2024 23:01
### Description

This pull request addresses an issue with the display of Vietnamese text by modifying the font-family property. Previously, Vietnamese text might not have been rendered correctly due to the absence of a fallback font. This change adds a fallback font option to ensure proper display across various environments.

### Code Changes

```diff
- font-family: 'Inter var' !important;
+ font-family: 'Inter var', sans-serif !important;
```

### Testing

To ensure that the display of Vietnamese text is fixed, the following steps were taken:

1. Applied the code change locally.
2. Loaded the application with Vietnamese text content.
3. Verified that Vietnamese text is displayed correctly without any rendering issues.
4. Ensured that the change did not adversely affect the display of text in other languages.

This change has been tested and confirmed to resolve the issue with Vietnamese text display.
- make CSS/XPath selector to resizable textarea with auto fit to content height,
  instead of a narrow one-line input
- make block options expanded by default, for show clear what options are available/modified between switching blocks
…ig-ui

feat: improve blocks configuration UI interaction
@jingbof jingbof changed the base branch from main to dev September 8, 2024 16:36
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

Successfully merging this pull request may close these issues.

4 participants