Link extension for tiptap rich text editor providing automatic link detection, paste handling, click behavior, and XSS protection.
88
{
"context": "This criteria evaluates how well the engineer uses @tiptap/extension-link package capabilities to support non-HTTP protocols (mailto, tel, ftp, ftps, sms). The focus is on proper configuration of the Link extension's protocol support features and correct usage of the editor's link detection capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Link Extension Import",
"description": "Correctly imports the Link extension from @tiptap/extension-link package",
"max_score": 10
},
{
"name": "Editor Configuration",
"description": "Properly configures the Editor with StarterKit and Link extension using the extensions array",
"max_score": 15
},
{
"name": "Protocol Configuration",
"description": "Configures the Link extension with appropriate protocol support, ensuring protocols like mailto, tel, ftp, ftps, and sms are included (either through default protocols or custom protocols configuration)",
"max_score": 25
},
{
"name": "Autolink Enablement",
"description": "Enables autolink functionality in the Link extension configuration to support automatic protocol link detection",
"max_score": 15
},
{
"name": "Link Mark Inspection",
"description": "Uses Editor's getJSON() or getHTML() method to inspect document content and extract link information, or uses editor state traversal to find link marks",
"max_score": 20
},
{
"name": "Protocol Extraction",
"description": "Correctly extracts href attributes from link marks and parses protocol information from the href values",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-tiptap--extension-linkdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10