I am currently exploring the Payload version 3 repository (payload-3.0-demo) on GitHub, and it's been a fantastic experience so far. The only issue I'm encountering is that the Lexical editor doesn't natively support a code block feature, and I'm struggling to integrate this functionality. My goal is to create a frontend blog that includes code blocks with syntax highlighting and a copy button in the top right corner.
also it would be really nice if i could specify the language, highlight specific lines in the code, add line count etc. Does anyone know of a solution to this?