Skip to content

Allow exporting HTML #261

@zrosenbauer

Description

@zrosenbauer

Describe the problem you'd like to have solved

I need to be able to output HTML string.

Describe the ideal solution

A package for converting TempoJSON to TipTapJSON by adding options to the toJSON method.

const doc = new TempoDoc();

const output = doc
  .h1('Example')
  .paragraphy('Hello world!')
  .toString({ format: 'html' });

Alternatives and current work-arounds

Currently translate markdown to html using unifiedjs or other library.

Additional context

TipTap has an API but we need an OSS alternative.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementNew feature or technical improvement.

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions