class CKEditor5::Rails::Assets::AssetsBundleHtmlSerializer

def to_html(nonce: nil)

def to_html(nonce: nil)
  tags = [
    WebComponentBundle.instance.to_html(nonce: nonce)
  ]
  unless lazy
    tags.prepend(
      preload_tags(nonce: nonce),
      styles_tags(nonce: nonce),
      window_scripts_tags(nonce: nonce)
    )
  end
  if importmap
    tags.prepend(
      AssetsImportMap.new(bundle).to_html(nonce: nonce)
    )
  end
  safe_join(tags)
end