This tests ensures formatBlock do not make multiple elements when formatting multiple paragraphs. Formatting: | "\n" |
| "<#selection-anchor>hello" |
| "world" |
| "WebKit<#selection-focus>" | "\n" by p yields: | "\n" |

| "<#selection-anchor>hello" |
| "world" |
| "WebKit<#selection-focus>" | "\n" Formatting: | "\n" |

| "<#selection-anchor>hello" |

| "world<#selection-focus>" | "\n" by blockquote yields: | "\n" |

| "<#selection-anchor>hello" |
| "world<#selection-focus>" | "\n" Formatting: | "\n" |
| "<#selection-anchor>hello" |
|     "world<#selection-focus>"
| "\n"

by p yields:
| "\n"
| 

| "<#selection-anchor>hello" |
| "world<#selection-focus>" | "\n" Formatting: | "\n" |

| "<#selection-anchor>hello" |
|

| "world" |

| "WebKit<#selection-focus>" | "\n" by pre yields: | "\n" |
|   "<#selection-anchor>hello"
|   
| "world" |
| "WebKit<#selection-focus>" | "\n" Formatting: | "\n" |
| "hello" |

| "<#selection-anchor>world" | "webki<#selection-focus>t" | "\n" by h1 yields: | "\n" |

| "hello" |

| "<#selection-anchor>world" |
| "webkit<#selection-focus>" | "\n" Formatting: | "\n" |
|   "<#selection-anchor>hello\nworld<#selection-focus>\nwebkit\n"
| "\n"

by blockquote yields:
| "\n"
| 
|   
| "<#selection-anchor>hello" |
| "world<#selection-focus>" | "webkit\n" | "\n" Formatting: | "\n" |
|   "hello\n<#selection-anchor>world\nwebki<#selection-focus>t\n"
| "\n"

by blockquote yields:
| "\n"
| 
|   "hello\n"
|   
| "<#selection-anchor>world" |
| "webki<#selection-focus>t" | "\n" Formatting: | "\n<#selection-anchor>hello" |

| "world<#selection-focus>" |

| "webkit" | "\n\n" by pre yields: |

|   "<#selection-anchor>\nhello"
|   
| "worl<#selection-focus>d" |

| "webkit" | "\n\n" Formatting: | "\n" |

| "hello" |
| "<#selection-anchor>world" |
| "webki<#selection-focus>t" | "\n" by pre yields: | "\n" |
| "hello" |
|   "<#selection-anchor>world"
|   
| "webki<#selection-focus>t" | "\n" Formatting: | "\n" |
    |
  • | "<#selection-anchor>hello" |
  • | "world<#selection-focus>" | "\n" by blockquote yields: | "\n" |
    |
      |
    • | "<#selection-anchor>hello" |
        |
      • | "world<#selection-focus>" | "\n"