rakutentech / laravel-request-docs

Effortless API documentation tool for Laravel applications. Swagger alternative.
MIT License
717 stars 106 forks source link

Feature Request: Option to Switch Between Ace Editor and Textarea #374

Closed Plong-Wasin closed 2 months ago

Plong-Wasin commented 4 months ago

I am experiencing an issue with cursor alignment in Chrome when using the Ace Editor, particularly when typing Asian characters. The cursor often misaligns with the text, which disrupts the typing experience. This problem is more evident with Asian characters that have glyphs extending above and below the baseline, making accurate cursor placement difficult.

To resolve this, I propose adding a feature that allows users to switch between the Ace Editor and a standard textarea. This flexibility would ensure better cursor alignment, especially when dealing with languages that include complex characters.

This issue has been acknowledged in the Ace Editor's GitHub repository (https://github.com/ajaxorg/ace/issues/460), where other users have reported similar problems with cursor alignment in Chrome. Implementing a switchable editor feature would be a practical solution to this ongoing problem.

image image