As John Carmack said on twitter the other day:
"Finally reading Design Patterns. The cross platform WYSIWYG editor used as an example doesn't "smell" like something actually implemented."
https://twitter.com/ID_AA_Carmack/status/257683318907215873
I had the same impression. How to trust the authors with such unbelievable example.