We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rx.code_block
Describe the bug
Line numbers are copied when selecting the code in a Code Block (rx.code_block) component.
To Reproduce
Steps to reproduce the behavior:
show_line_numbers
Expected behavior
Line numbers are only there for easy in the view, not for the clipboard.
Specifics (please complete the following information):
The text was updated successfully, but these errors were encountered:
ENG-4403 Line numbers are copied on `rx.code_block`
Sorry, something went wrong.
I can't reproduce the issue with the following code :
code = """A B C D""" @rx.page() def index(): return rx.code_block( code, show_line_numbers=True, can_copy=True )
Whether I copy manually by selecting text or by using the button, in both case the line are not included.
Do you have the specific code snippet where the error happens?
No branches or pull requests
Describe the bug
Line numbers are copied when selecting the code in a Code Block (
rx.code_block
) component.To Reproduce
Steps to reproduce the behavior:
show_line_numbers
on arx.code_block
Expected behavior
Line numbers are only there for easy in the view, not for the clipboard.
Specifics (please complete the following information):
The text was updated successfully, but these errors were encountered: