Bookie
                
              
                
              
                  
                  
              1
              
             
            
              seems unless the html containing the CM is the root page, it does not work without being in an <iframe>
the editor div shows but is blank (no numbered lines, no ability to type into)
with the prevalence of SPAs these days this could be of issue
thoughts?
             
            
              
              
              
            
            
           
          
            
              
                marijn
                
              
              
                  
                  
              2
              
             
            
              I don’t understand what you mean by ‘root page’ here. The library should work in shadow roots.
             
            
              
              
              
            
            
           
          
            
              
                Bookie
                
              
              
                  
                  
              3
              
             
            
              my bad, this was an issue of SPA div reload appendChild to interpret the embedded script in loaded div.
got it working
thx