Skip to content

Convert TempoJSON to TipTapJSON #207

@zrosenbauer

Description

@zrosenbauer

Describe the problem you'd like to have solved

I need to be able to convert TipTap JSON to markdown.

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!')
  .toJSON({ format: 'tiptap' });

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions