Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com> Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
10 lines
279 B
JavaScript
10 lines
279 B
JavaScript
const htmlLens = {
|
|
lensName: "HTML",
|
|
isSupportedContentType: (contentType) =>
|
|
/\btext\/html|application\/xhtml\+xml\b/i.test(contentType),
|
|
renderer: "htmlres",
|
|
rendererImport: () => import("~/components/lenses/renderers/HTMLLensRenderer"),
|
|
}
|
|
|
|
export default htmlLens
|