TinyMCE:API/tinymce.Editor/save

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Method: save

Summary

Saves the contents from a editor out to the textarea or div element that got converted into an editor instance. This method will move the HTML contents from the editor into that textarea or div by getContent so all events etc that method has will get dispatched as well.

Syntax

<String> save(<Object> o)

Parameters

o
Optional content object, this gets passed around through the whole save process.

Returns

HTML string that got set into the textarea/div.

Personal tools