How to use the nib-converter.convertToHTML function in nib-converter

To help you get started, we’ve selected a few nib-converter examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nib-edit / Nib / packages / docs / demo / ConvertToHTML / index.jsx View on Github external
const ConvertToHTMLDemo = () => {
  const [content, setContent] = useState();
  const htmlStr = NibConverter.convertToHTML((content || defaultValue).doc);
  return (
    <div>
      </div>

nib-converter

Converter for nib-editor to HTML

GPL-3.0
Latest version published 4 years ago

Package Health Score

45 / 100
Full package analysis