Formatting [Code] sections

Formatting [Code] sections was created by robert

Posted 1 year 7 months ago #16586
My customers often put code snippets in the forum editor.
These are surrounded with code markers and often consist of multiple lines

After saving the message, the CRLF characters are ignored and all the text is rendered on a single line.
Is this a problem of CKEditor or of NTS Kay?
Code:
Example 1 Example 2 Example 3

It happens here too:
I added 3 lines with Example 1 .. Example 3
I select the 3 lines and choose the code button.
The text then gets reformatted and is all on a single line

Code:
Example 1 Example 2 Example 3


This second block was edited by me after applying the code block


Robert

 
Last Edit:1 year 6 months ago Post by robert
Last edit: 1 year 6 months ago by ntstore.

Please Log in or Create an account to join the conversation.

Replied by ntstore on topic Formatting [Code] sections

Posted 1 year 7 months ago #16587
Hi Robert,
Thank you very much for bug report. We will check this issue on the NTS Kay template and update soon.

Kind regards,

Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore

Post by ntstore

Please Log in or Create an account to join the conversation.

Replied by robert on topic Formatting [Code] sections

Posted 1 year 6 months ago #16592
There is also something wrong with the template.
Even when the lines are not reformatted, things look ugly.
Look at www.xsharp.eu/forum/public-vo-vn/3579-ta...ication-dialog#27039
where all the code is shown in a single line.
If you open the message in the editor then things look OK.

Robert

PS Forget it. This was a problem with minimizing HTML by JCH Optimize...
Last Edit:1 year 6 months ago Post by robert
Last edit: 1 year 6 months ago by robert.
The following user(s) said Thank You: ntstore

Please Log in or Create an account to join the conversation.

Time to create page: 0.535 seconds