CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-tiptap--extension-typography

Typography extension for Tiptap that automatically converts common text input patterns into proper typographic characters.

73

0.85x
Overview
Eval results
Files

rubric.jsonevals/scenario-8/

{
  "context": "This criteria evaluates how effectively an engineer uses Tiptap's text selection and focus management APIs to implement programmatic selection control. It assesses the proper use of editor commands for selecting text ranges, positioning the cursor, selecting all content, and managing focus state.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "setTextSelection usage",
      "description": "Uses editor.commands.setTextSelection() or editor.chain().setTextSelection() with proper from/to positions to select a range of text",
      "max_score": 25
    },
    {
      "name": "cursor positioning",
      "description": "Uses editor.commands.setTextSelection() or editor.chain().setTextSelection() with a single position parameter (or from === to) to set cursor position",
      "max_score": 20
    },
    {
      "name": "selectAll implementation",
      "description": "Uses editor.commands.selectAll() or editor.chain().selectAll().run() to select entire document content",
      "max_score": 15
    },
    {
      "name": "focus implementation",
      "description": "Uses editor.commands.focus() or editor.chain().focus().run() to bring focus to the editor",
      "max_score": 20
    },
    {
      "name": "blur implementation",
      "description": "Uses editor.commands.blur() or editor.chain().blur().run() to remove focus from the editor",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-tiptap--extension-typography

tile.json