* In the case of recreating your own WYSIWYG editor, the `:content` attribute is not created as a
`form_for` object.
* It is instead a `div` that contains an attribute called `contenteditable = 'true'`
* How do you **connect** the attribute to this div?
* Create a `<%= f.hidden_field(:content) %>` within the form (using the name of the attribute)
* In order to attach the contents of the div to the hidden field tag, you will need javascript!
```javascript
$("[name='compForm']").submit () ->
$("input[name='content_page[page_content]']:hidden").val(document.getElementById("textBox")
.innerHTML)
```
* Add a name attribute to the form, or use the form's ID
* When the form is submitted, add a submit event listener to the form
* Query for the hidden field
* Obtain the innerHTML value of the content editable div and give that the value for the hidden
input field