ep_headings2 0.2.111 → 0.2.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "Adds heading support to Etherpad Lite. Includes improved suppot for export, i18n etc.",
3
3
  "name": "ep_headings2",
4
- "version": "0.2.111",
4
+ "version": "0.2.113",
5
5
  "author": {
6
6
  "name": "John McLear",
7
7
  "email": "john@mclear.co.uk"
@@ -57,9 +57,13 @@ test.describe('ep_headings2 - Set Heading and ensure its removed properly', () =
57
57
 
58
58
  // Move to a fresh second line — the selector should reset to
59
59
  // "no heading" (-1) because the cursor is no longer on an H1.
60
+ // Use insertText instead of keyboard.type: Firefox under
61
+ // WITH_PLUGINS load racily drops chars from per-key events, which
62
+ // is the same fix etherpad core's writeToPad helper applied in
63
+ // #7625.
60
64
  await page.keyboard.press('End');
61
65
  await page.keyboard.press('Enter');
62
- await page.keyboard.type('Second Line');
66
+ await page.keyboard.insertText('Second Line');
63
67
 
64
68
  // Wait for the selector to update to "-1" (Etherpad polls the
65
69
  // current line's heading attribute on caret moves).