Formatting codes does not work with Book and Quill.
It is all formatting codes. It worked with version 1.13.2. Even if you update version 1.13.2 to version 1.14.1, the formatting codes does not disappear, but you can not enter a new formatting codes in version 1.14.1.
Linked issues
Comments

This is intended, see MC-138046.