Skip to main content

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

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!


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




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!