-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Comments
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 might be a bug. The button should not be scrolling. If you want to share a link I can take a look at it. |
Hi Kevin,
Again I want to express how much I love the Code Block Pro editor. It has a great place with BetterDocs when I’m trying to help others since I’m a non-profit company. Do you have plans to offer support for bbpress forum?
I added TinyMCE as an editor for bbpress thinking it would make your Code Block Pro editor work with bbpress but that didn’t do it. I really don’t want any other Syntax Highlighting plugin. Do you think you will extend your plugin to support TinyMCE editor?

… On May 15, 2024, at 6:48 AM, Kevin Batdorf ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub <#320 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A2WMKV43CC6WB7KR3VSML7DZCM4RBAVCNFSM6AAAAABHWWDHGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJSGE3TQMZQGA>.
You are receiving this because you authored the thread.
|
The plugin is so heavily integrated into the block editor that it just wouldn't be possible. I've have to create an entirely new plugin unfortunately. Doesn't bbpress support the wp editor? By the way, for line wrapping, if you still need it, a good solution was brought up here: #250 (comment) |
The plugin is so heavily integrated into the block editor that it just wouldn't be possible. I've have to create an entirely new plugin unfortunately. Doesn't bbpress support the wp editor?
That probably explains why no ones syntax highlighting works on bbpress. I tried to use TinyMCE which works okay but no syntax highlighting and I tried a few (obviously yours is the best by FAR). For now I’m using bbcode
By the way, for line wrapping, if you still need it, a good solution was brought up here: #250 (comment) <#250 (comment)>
I’ll check it out, thanks.

… On Aug 27, 2024, at 11:48 AM, Kevin Batdorf ***@***.***> wrote:
The plugin is so heavily integrated into the block editor that it just wouldn't be possible. I've have to create an entirely new plugin unfortunately. Doesn't bbpress support the wp editor?
By the way, for line wrapping, if you still need it, a good solution was brought up here: #250 (comment) <#250 (comment)>
—
Reply to this email directly, view it on GitHub <#320 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A2WMKV2BIOERMXV2JOS5JELZTSNTHAVCNFSM6AAAAABNGDGMAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSHEZDOMRYGA>.
You are receiving this because you authored the thread.
|
An example of the issue I'm facing you can see here The very first line of code stretches off the screen and I'd prefer how it looks when I'm working on the document which is this Not sure if this is possible but it would be awesome. Like in a terminal you set the max columns, it would be great if we could just set that globally on our site or in the block while editing. |
You would have to add it to your theme css file, or if you're using a block theme with FSE, https://mywiseguys.com/wp-admin/site-editor.php?canvas=edit If you're using a classic theme, you have to find the customizer and add CSS there. |
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.
The text was updated successfully, but these errors were encountered: