edit-text
                                
                                 edit-text copied to clipboard
                                
                                    edit-text copied to clipboard
                            
                            
                            
                        Newline literal at the end of a <pre> block is hidden (unless a caret is placed there)
 
                                    
                                    
                                    
                                
This can be solved by adding a zero-width joiner to the end of a pre element. Easiest way to do this from CSS:
[data-tag="pre"]::after {
    content: '\200C' !important
}