Open uchar opened 3 hours ago
Element previously highlighted.
There is no reason to highlight an element twice.
does it have something to do with SSR
That would make sense, if it was highlighted server-side it does not need to be re-highlighted on the client - it's already highlighted.
I'm using Next.js and ckeditor for generating content . code is :
But it doesn't highlight anything and keep giving error :
if I use
It starts working , not sure what is causing the first example not working does it have something to do with SSR ? not sure what I need to change , first one seems fine to me , Is this a highligh.js bug ?