Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert TempoJSON to TipTapJSON #207

Open
zrosenbauer opened this issue Sep 9, 2024 · 0 comments
Open

Convert TempoJSON to TipTapJSON #207

zrosenbauer opened this issue Sep 9, 2024 · 0 comments
Labels
type: enhancement New feature or technical improvement.
Milestone

Comments

@zrosenbauer
Copy link
Member

zrosenbauer commented Sep 9, 2024

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.

@zrosenbauer zrosenbauer added the type: enhancement New feature or technical improvement. label Sep 9, 2024
@zrosenbauer zrosenbauer added this to the Release v1 milestone Sep 9, 2024
@zrosenbauer zrosenbauer moved this to Todo in Roadmap: tempo Dec 12, 2024
@zrosenbauer zrosenbauer changed the title Convert TempoJSON to TipTapJSON Convert TempoJSON to TipTapJSON (toJSON({ format: 'tiptap' })) Dec 13, 2024
@zrosenbauer zrosenbauer changed the title Convert TempoJSON to TipTapJSON (toJSON({ format: 'tiptap' })) Convert TempoJSON to TipTapJSON Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or technical improvement.
Projects
Status: Todo
Development

No branches or pull requests

1 participant