Code line highlighting in Prism JS doesn't always appear #777
Labels
Layer: Log Management
Items related to the custom objects & Logger Console app
Type: Bug
Something isn't working
For some reason, the line highlighting used for Apex code snippets in
c/loggerCodeViewer
(powered by Prism JS) does not always correctly show up.For
LogEntry__c
records without an exception, only 1 instance of the component is shown to display origin details. In this case, the line highlighting seems to never really workFor
LogEntry__c
records with an exception, 2 instances of the component are - one for the origin details, and one for the exception details. Typically, these records show the highlighting on both components, but even this is sometimes flakyMy theory is that this is happening because of how/when the PrismJS static resource is loaded, but so far, I haven't been able to fix it.
The text was updated successfully, but these errors were encountered: