A hyperscript helper for creating Slate documents with JSX-like syntax.
90
Element and text attributes
Uses jsx function
100%
100%
Creates editor tag
100%
100%
Element type attributes
100%
100%
Custom element properties
100%
100%
Text formatting attributes
100%
100%
Plain string handling
50%
60%
Dynamic attribute spreading
100%
100%
Basic JSX tag creation (editor, element, text, fragment, selection, anchor, focus, cursor)
Uses jsx function
100%
100%
Creates editor tag
100%
100%
Creates element tags
100%
100%
Handles plain text
33%
66%
Uses cursor token
0%
0%
Uses anchor/focus tokens
0%
0%
Applies text attributes
100%
100%
Priority-based creator system (defaults, shorthands, custom)
Import createHyperscript
100%
100%
Use elements option
100%
100%
Use creators option
100%
100%
Proper precedence
100%
100%
Return JSX function
100%
50%
Handle children properly
100%
100%
Nested document structures
JSX Factory Import
100%
0%
Editor Tag Usage
100%
0%
Element Tag Nesting
100%
33%
Element Type Properties
100%
100%
Element ID Attributes
100%
100%
Text Content Handling
100%
100%
Cursor Tag Usage
0%
0%
Complex List Nesting
100%
100%
Custom List Attributes
100%
100%
Integration with custom editor factories
createHyperscript usage
100%
100%
Custom editor creator
100%
100%
Editor metadata
100%
100%
ID counter logic
100%
100%
Validation logic
100%
100%
Element shortcuts
100%
100%
JSX export
100%
100%
Token resolution across complex document structures
JSX function import
100%
100%
Editor tag usage
0%
100%
Element tag usage
93%
100%
Cursor token usage
0%
100%
Anchor/focus token usage
0%
100%
Token placement accuracy
0%
100%
Nesting depth handling
90%
100%
Inline selection markers with token system (cursor, anchor/focus)
Imports jsx function
100%
100%
Uses cursor token
86%
100%
Uses anchor/focus tokens
88%
100%
Uses editor tag
100%
100%
Uses element tag
100%
100%
Inline marker placement
86%
100%
Automatic string-to-text node conversion
Uses jsx function
66%
100%
String-to-text conversion
100%
100%
Adjacent string merging
100%
100%
Cursor token usage
90%
100%
Element tag usage
100%
100%
Explicit selection with path and offset attributes
Import slate-hyperscript
100%
100%
Use <editor> tag
100%
100%
Use <selection> tag
0%
100%
Use <anchor> with path
0%
100%
Use <anchor> with offset
0%
100%
Use <focus> with path
0%
100%
Use <focus> with offset
0%
100%
Handle collapsed selections
100%
100%
Handle range selections
100%
100%
Text node merging logic with WeakSet tracking
Uses jsx function
33%
0%
String-to-text conversion
100%
100%
Adjacent string merging
100%
100%
Explicit text separation
100%
100%
WeakSet tracking
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-slate-hyperscript