#46971
R B ATTENBOROUGH
Participant

Hey finally got the code snippet block working!
It’s available at: https://github.com/BenAttenborough/rba-codeblock
There still seems to be a bit of a strange bug. For some reason when editing a page with multiple code snippet blocks changing the language or line number settings changes the wrong editor. However upon saving and updating the correct settings should show. Does not affect the front end.
I think this may be because the code block is being updated directly rather than through the React component. Anyway let me know what you think of the block. 🙂