UNPKG

@blade47/editorjs-html

Version:

A utility to parse editorjs clean data to HTML.

6 lines (4 loc) 142 B
import { OutputBlockData } from "@editorjs/editorjs"; export const delimiter = ({ data }: OutputBlockData): string => { return `<br/>`; };