# Saving Data in CKEditor Replacing a Textarea Documentation

When CKEditor is set to replace a <textarea> element, the integration with the parent <form> element is automatic. CKEditor automatically updates the replaced <textarea> when the form is submitted, so there is no need to change any server-side code handling form submission after enabling CKEditor on an exisiting form element.

Note: The examples below will submit content to a remote server.

## Classic Editor Replacing a Textarea

A <textarea> element is replaced with classic editor using the CKEDITOR.replace() method.

## Inline Editor Replacing a Textarea

A <textarea> element is replaced with inline editor using the CKEDITOR.inline() method.