CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-tiptap--core

Headless rich text editor built on ProseMirror with extensible architecture for building custom editors

94

1.00x
Overview
Eval results
Files

rubric.jsonevals/scenario-8/

{
  "context": "This criteria evaluates how well the engineer uses @tiptap/core's command chaining API to implement multiple sequential formatting operations. The focus is on proper use of chain(), command methods, run(), and can() for validation.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses chain() method",
      "description": "Uses editor.chain() to initiate command chaining sequences instead of calling commands individually",
      "max_score": 20
    },
    {
      "name": "Calls run() to execute",
      "description": "Properly calls .run() at the end of each command chain to execute the queued commands",
      "max_score": 15
    },
    {
      "name": "Chains formatting commands",
      "description": "Chains multiple formatting commands together (e.g., toggleBold(), toggleItalic(), setColor()) in a single sequence",
      "max_score": 20
    },
    {
      "name": "Uses can() for validation",
      "description": "Uses editor.can() API to validate whether commands can be executed before attempting to run them",
      "max_score": 15
    },
    {
      "name": "Chains content manipulation",
      "description": "Chains content manipulation commands like clearContent() and insertContent() or setContent() together",
      "max_score": 15
    },
    {
      "name": "Returns boolean results",
      "description": "Correctly returns the boolean result from .run() to indicate success or failure of command execution",
      "max_score": 10
    },
    {
      "name": "Proper validation chains",
      "description": "Builds complete validation chains with editor.can().chain() that mirror the actual command chains without executing them",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-tiptap--core

tile.json