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.
Colour scheme
Writes data-tiptap-theme on <html>, as
TIPTAP_COLOR_SCHEME does through the widget. system follows
the OS setting. The editor below carries every surface the dark set covers: open the
colour and highlight menus, the image picker, source view, and click the image for its
resize handles.
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.
features set)features key)Scenarios
Not run yet.