django-tiptap-editor — keyboard harness

A no-build page for exercising Enter / Shift-Enter against the committed bundle. The playground mounts a real editor the way the Django widget does (a <textarea> carrying data-tiptap-config); the scenario grid runs the same key presses across all three enterKey modes and asserts the serialized HTML.

Playground

Serialized value (what the form would POST)


      

Restricted field

An email-style field: features lists bold, italic, link and the two lists, and toolbar matches. Type ## at the start of a line, press Ctrl+Alt+2 (Cmd+Option+2 on a Mac), or paste a heading from another page into each editor: the full field makes a heading every time, the restricted one never does, because it has no heading node to make. The paste buttons drive the real clipboard path (view.pasteHTML) for when a clipboard is awkward to reach.

Restricted (features set)


        
Full (no features key)


      

Scenarios

Not run yet.

Results