MyBB Community Forums
[Pushed] Long text in [code] & [php] out of box bound in SCEditor - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Pushed (https://community.mybb.com/forum-183.html)
+----- Thread: [Pushed] Long text in [code] & [php] out of box bound in SCEditor (/thread-227600.html)



Long text in [code] & [php] out of box bound in SCEditor - noyle - 2020-05-03

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.


RE: Long text in [code] & [php] out of box bound in SCEditor - effone - 2020-05-03

Hi,

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: https://github.com/mybb/mybb/issues/3975

Thanks for contributing to MyBB!

Regards,
The MyBB Group


RE: Long text in [code] & [php] out of box bound in SCEditor - effone - 2020-05-03

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