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

Line Wrap to keep on the screen? #320

Open
EventGuyZ opened this issue May 14, 2024 · 1 comment
Open

Line Wrap to keep on the screen? #320

EventGuyZ opened this issue May 14, 2024 · 1 comment

Comments

@EventGuyZ
Copy link

This is probably a stupid question but would love the ability to wrap the code so I can see it on one screen without scrolling all the way to the right. This also makes it easier since the copy code button is also on the far right.

Feels stupid to complain since this is the best code block for Wordpress I've seen. Wish it had code wrap and also wish Buddyboss would allow it to be used on the discussions which will never happen.

@KevinBatdorf
Copy link
Owner

Hey, do you have a link? I can give you some CSS to help with this. It breaks some other features though like line highlighting, so I'm not going to add it to the plugin for now.

You can also see some other conversations on this here: https://github.com/KevinBatdorf/code-block-pro/issues?q=line+wrap

This also makes it easier since the copy code button is also on the far right.

This might be a bug. The button should not be scrolling. If you want to share a link I can take a look at it.

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

No branches or pull requests

2 participants