Skip to main content

Using multiple code snippets sets formatting to HTML

  • May 8, 2018
  • 3 replies
  • 76 views

When you create a document with multiple code snippets (non-HTML) and save, only the first one stays in the selected format and the format for the rest gets assigned to HTML.

screenshot2018-05-08at9.47.39_32440.png
This topic has been closed for replies.

3 replies

aravind.sundararajan
Skilled Expert
Forum|alt.badge.img+12

Hi,


That's quite strange. Tried this on a demo account and it seem to work well. Can you please help us with your browser and OS version? Maybe, you can try recreating this on a different browser / private mode.


Cheers!


  • Author
  • Apprentice
  • May 8, 2018

I'm using Chrome Version 66.0.3359.139 (Official Build) (64-bit) on Mac High Sierra (10.13.4 (17E199)). Please find this video on how to reproduce: https://youtu.be/7vuINCdisNY


aravind.sundararajan
Skilled Expert
Forum|alt.badge.img+12

Thanks for the video, Jukka. I'm able to sense what's happening here - the code format selection is not remembered for subsequent additions. It actually displays it as java but every time it just reverts back to Html. I'll let the team know about this. 


In the meantime, you can always choose the language every time you include a snippet so that the correct language tag is applied to the code block.


Cheers!