Skip to content

Add full state management around a single Tiptap editor

Louis-André Labadie requested to merge feat/tiptap-content into master

Makes the page ready for loading a server-injected recipe, modifying it with Tiptap, and sending the modified recipe object to be saved. Tiptap uses an additional Indent plugin to allow hierarchy inside the content.

Currently expects this data structure:

{
  name: "My recipe",
  date: "Jan 01 ",
  heading_image: {
    url: "https://domain.com/myimage.jpg",
  },
  content: /* Tiptap JSON */ ,

Merge request reports