The editing command that relies the most on this, `insertLinebreak`, did not perform a layout update after inserting a `<br>` which caused this algorithm to always return false. But instead of actually building the layout tree needlessly, we can check the DOM tree instead. |
||
|---|---|---|
| .. | ||
| Algorithms.cpp | ||
| Algorithms.h | ||