Formatting [Code] sections

  • robert
  • robert's Avatar Offline Topic Author
  • New Member
  • New Member
  • Thank you received: 1
  • Posts: 12

Formatting [Code] sections was created by robert

Posted 10 months 4 days 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:10 months 1 day ago by robert
Last edit: 10 months 1 day ago by ntstore.

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

Replied by ntstore on topic Formatting [Code] sections

Posted 10 months 4 days 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

by ntstore

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

  • robert
  • robert's Avatar Offline Topic Author
  • New Member
  • New Member
  • Thank you received: 1
  • Posts: 12

Replied by robert on topic Formatting [Code] sections

Posted 10 months 2 days 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:10 months 2 days ago by robert
Last edit: 10 months 2 days 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.729 seconds

Nice Theme Store

If you have questions or are having problems with our products, contact us on one of the following three channels.

Nice Theme Store