Important changes to Tiny Cloud pricing > Find out more
Return to Website

auto_focus

This option enables you to auto focus an editor instance. The value of this option should be an editor instance id. The editor instance id is the id for the original textarea or div element that got replaced.

Example of usage of the auto_focus option:

tinyMCE.init({
    ...
    auto_focus : "elm1"
});

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.