Open Issues Need Help
View All on GitHubAn editable <textarea> that supports any syntax highlighting algorithm, for code or something else. Also, added plugins.
An editable <textarea> that supports any syntax highlighting algorithm, for code or something else. Also, added plugins.
AI Summary: Debug a timing issue in a JavaScript code editor library where syntax highlighting using Highlight.js only works after the textarea's value is changed. The problem occurs when the `registerTemplate` function is called before the Highlight.js library is fully loaded, likely due to the use of a module import. The solution involves ensuring the `registerTemplate` function is called after Highlight.js is fully initialized, possibly by using a callback or Promise.
An editable <textarea> that supports any syntax highlighting algorithm, for code or something else. Also, added plugins.
AI Summary: Improve the accessibility of the GoToLine plugin in the `code-input` library by replacing the current JavaScript-only validation with HTML5 form validation for the input field. This involves changing the input type to `number`, setting appropriate `min` and `max` attributes, and potentially supplementing with JavaScript validation for broader browser compatibility. Error messages should be displayed to both sighted and screen reader users when an invalid line number is entered.
An editable <textarea> that supports any syntax highlighting algorithm, for code or something else. Also, added plugins.
AI Summary: Debug a plugin for a syntax-highlighted textarea library (`code-input`) that exhibits unexpected behavior (specifically, incorrect bracket/quote insertion) in WebKit-based browsers (GNOME Web, potentially others). The issue involves the 'Auto-Close Brackets' plugin and manifests differently depending on the context (whitespace, existing characters, etc.) before the cursor. The goal is to identify and fix the root cause of the bug, ensuring correct behavior across different browsers.
An editable <textarea> that supports any syntax highlighting algorithm, for code or something else. Also, added plugins.