A common requirement of an application is to provide a user with the ability to input longer portions of text. Unfortunately, in many cases, a standard HTML text area will not meet that requirement, as richer functionality is needed. Even a simple line break will mean looking elsewhere for a richer text editor.
In this chapter, we are going to use a text editor called Trumbowyg, which is a lightweight What You See Is What You Get (WYSIWYG) editor. The editor comes with a lot of great features, but we are mainly using it to offer line breaks and a few extra formatting options to the user.
You can ...