ReadonlypathStaticcontrolsControl names (data-test-fw-type) this harness can drive; empty means any.
The element the field's
The inline value shown before editing (@inline forms).
The Tiptap editor behind the field.
The editable element (the one with the field's id).
The field's wrapper element, looked up on every read.
The document as HTML.
The document as plain text, blocks separated by blank lines.
The toolbar's button names, in order.
Confirm mode / inline editing: discard the pending value.
Confirm mode / inline editing: apply the pending value.
Inline editing: open the control.
Whether a toolbar button is pressed (its mark or block is active at the cursor).
ProtectedoptionClicks a toolbar button: bold, heading-2, bullet-list, undo, ...
Selects the whole document, e.g. before pressing a button.
Replaces the document, as pasting over all of it would; the cursor ends up at the end.
Inserts text at the cursor (at the end, if the editor isn't focused).
Drives a
rich-textfield. Text goes in through the editor's own commands (ProseMirror doesn't react to synthetic key events); formatting goes through the toolbar, as a user's would: