Using multiple code snippets sets formatting to HTML

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.


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.


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:

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.


Login or Signup to post a comment