SEO + AEO on AutopilotFrom the team at Stackmatix
The Growth Library

Test Rich-Text Authoring Round Trips Before Migrating an Article

Review an import-edit-export authoring path against a complete semantic fixture, not a visual resemblance or byte-identical HTML requirement.

A rich-text authoring round trip is ready when the imported, edited, and exported document preserves the structures and text the article needs. A page can look similar while losing nested list relationships, link destinations, emphasis, or table headers. A changed serialization can also preserve the meaning perfectly.

State which structures matter before testing. Record the source artifact, editor and configuration, supported schema or extensions, intended edit, export format, and expected semantic result. Do not equate every HTML byte difference with a defect or every visually familiar result with a pass.

The acceptance brief establishes the reader outcome. This review makes the authoring system's preservation requirements concrete before an archive is migrated through it.

Use serialization documentation within its limits

Tiptap's output and content-handling guide describes retrieving content through getJSON and getHTML and restoring supported content through the editor. It also distinguishes an ordinary JSON document from the change history needed for its Y.js collaboration context.

Those documented interfaces are useful evidence for a particular editor family. They do not prove that an unspecified configuration preserves every source element or that exporting JSON automatically captures all collaboration history. Read the actual supported schema and import/export behavior for the system being reviewed.

This article supplies an original editor-neutral fixture and comparison record. It does not claim to have run Tiptap or migrated a real site. An implementation owner must perform the actual round trip under the declared configuration before calling that environment approved.

Use one complete small source fixture

The following fictional article fragment contains a heading, meaningful emphasis, a link, two levels of ordered list, and a small table. The demonstration link uses an invalid example destination and must not be followed as a real procedure.

<h2>Review a draft</h2>
<p>Use the <strong>Demo</strong> workspace and the <a href="https://example.invalid/review">review guide</a>.</p>
<ol>
  <li>Open Review.
    <ol><li>Choose Safe.</li><li>Confirm Draft.</li></ol>
  </li>
  <li>Save draft.</li>
</ol>
<table>
  <thead><tr><th scope="col">Role</th><th scope="col">Expected state</th></tr></thead>
  <tbody><tr><th scope="row">Owner</th><td>Draft</td></tr></tbody>
</table>

The teaching task is not about the fictional tool's real behavior. It is about preserving content relationships through authoring. A reviewer can inspect every necessary feature in one small input without copying a private article or uploading customer content to a new provider.

Preserve a complete expected meaning record

This original normalized inspection record describes the fixture's intended structure. It is not Tiptap JSON or a claim about another editor's native node names. It provides an independent expected result for comparing the actual export.

{
  "blocks": [
    {
      "kind": "heading",
      "level": 2,
      "text": "Review a draft"
    },
    {
      "kind": "paragraph",
      "text": "Use the Demo workspace and the review guide.",
      "strong_span": "Demo",
      "link": {
        "text": "review guide",
        "target": "https://example.invalid/review"
      }
    },
    {
      "kind": "ordered_list",
      "items": [
        {
          "text": "Open Review.",
          "child_ordered_list": [
            "Choose Safe.",
            "Confirm Draft."
          ]
        },
        {
          "text": "Save draft."
        }
      ]
    },
    {
      "kind": "table",
      "column_headers": [
        "Role",
        "Expected state"
      ],
      "row": {
        "row_header": "Owner",
        "cells": [
          "Draft"
        ]
      }
    }
  ]
}

The outer list has two items. Its first item contains a nested two-item list; flattening those children into peers changes the sequence. The table has one header row and one body row, with explicit column and row relationships. Link text and destination are separate values, so preserving the visible words alone is insufficient.

Specify the actual round-trip experiment

Import a permitted copy through the supported path, confirm the loaded structures, perform one harmless declared edit, export, then reopen or reimport as the workflow requires. For this fixture, the declared edit can change the heading from Review a draft to Review the draft while leaving every other meaning unit unchanged.

Record the expected heading difference explicitly. Otherwise an exact comparison will reject the intended edit, while a loose visual comparison may accept unintended changes beside it. Keep source and exported artifacts separately identified.

Do not silently preclean the input into a simpler subset and claim the original fixture passed. If the editor requires a supported transformation, record that transformation and assess whether it preserves the task before including it in the approved migration path.

Make a flattened-list defect fail visibly

A useful negative export moves Choose Safe and Confirm Draft out of their parent item and produces a four-item flat list. All words remain present, but the nested relationship has disappeared. The expected meaning record rejects that export even if a text search finds every phrase.

Add separate checks for a removed strong span, changed link target, lost heading level, and table headers converted to ordinary cells. A heading converted to a bold paragraph can retain its appearance while losing its structural navigation role. Some differences affect emphasis or navigation; others change a consequential instruction. Record severity and required repair without assuming every serialization change has equal impact.

The HTML/PDF parity guide compares published representations. This test concerns loss inside an authoring transformation before publication. A later export cannot be assumed equivalent because its source passed a different representation review.

Compare meaning before cosmetic serialization

An editor may normalize whitespace, attribute order, or equivalent markup. Choose a comparison that reflects the actual acceptance promise. For this fixture, the important relationships and literal target should survive; attribute order is not the reader's task.

A normalized inspection record is itself a tool with limits. If it ignores table headers or link targets, it can hide precisely the defects the review needs to catch. Inspect the final actual artifact and use meaningful negative cases to challenge the comparison method.

Keep private source data out of general-purpose demos. A small synthetic fixture can test an authoring path without transferring an entire unpublished archive to an unapproved system. Real migration evidence belongs in the authorized environment under its actual access requirements.

Release a supported authoring path

Save the source fixture, declared edit, expected result, actual configuration, exports, comparison findings, negative cases, and unresolved features. State which structures were tested instead of claiming universal fidelity for every future article.

The verification worksheet separates official serialization interfaces from original acceptance expectations and observed implementation evidence. Recheck when extensions, schema, editor versions, import logic, or export destinations change.

Approve the path when the final reopened content retains the declared meaning and the intentional edit is the only accepted change. If unsupported structures cannot be preserved, hold that migration scope or use a reviewed transformation. A successful save operation is not enough to establish a faithful article.

Sources

Matt Pru

Co-founder and CEO of Stackmatix. Writing about growth, customer acquisition, and the decisions behind useful marketing. Connect on LinkedIn.

Developed with AI assistance under Matt's editorial direction. Our Editorial Approach