{"record":{"id":"e6fbd66ec606c312","repo":"ueberdosis/tiptap","slug":"no-marked-instance-available-for-parsing","errorCode":null,"errorMessage":"No marked instance available for parsing","messagePattern":"No marked instance available for parsing","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/markdown/src/MarkdownManager.ts","lineNumber":338,"sourceCode":"  private isEmptyOutput(markdown: string): boolean {\n    if (!markdown || markdown.trim() === '') {\n      return true\n    }\n\n    // Check if the output is only &nbsp; entities or non-breaking space characters\n    const cleanedOutput = markdown\n      .replace(/&nbsp;/g, '')\n      .replace(/\\u00A0/g, '')\n      .trim()\n    return cleanedOutput === ''\n  }\n\n  /**\n   * Parse markdown string into Tiptap JSON document using registered extension handlers.\n   */\n  parse(markdown: string): JSONContent {\n    if (!this.hasMarked()) {\n      throw new Error('No marked instance available for parsing')\n    }\n\n    const previousParseLexer = this.activeParseLexer\n    const parseLexer = this.createLexer()\n\n    this.activeParseLexer = parseLexer\n\n    try {\n      // Use a parse-scoped lexer so follow-up inline tokenization can reuse\n      // the same configured lexer state without sharing it across parses.\n      const tokens = parseLexer.lex(markdown) as MarkdownToken[]\n\n      // Convert tokens to Tiptap JSON\n      const content = this.parseTokens(tokens, true)\n\n      // Return a document node containing the parsed content\n      return {\n        type: 'doc',","sourceCodeStart":320,"sourceCodeEnd":356,"githubUrl":"https://github.com/ueberdosis/tiptap/blob/496d53afd7e4e3c7424b4749adeff4f45e27ddb0/packages/markdown/src/MarkdownManager.ts#L320-L356","documentation":"Error \"No marked instance available for parsing\" thrown in ueberdosis/tiptap.","triggerScenarios":"Thrown at packages/markdown/src/MarkdownManager.ts:338 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"496d53afd7e4e3c7424b4749adeff4f45e27ddb0","analyzedAt":"2026-08-26T22:41:43.400Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}