MyBB Community Forums

Full Version: Long text in [code] & [php] out of box bound in SCEditor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to fix this? Seems it's because of the SCeditor's style, so will also affect 1.9.

Quote & normal text looks great.

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github:

Thanks for contributing to MyBB!

The MyBB Group
Looks like the style declaration white-space: pre; is causing it.
Changing the same to white-space: pre-wrap; resolves the issue.