This example demonstrates how to render an Editor inside of a TabView Control.
First we will begin by adding a simple div to the page with the id of e_tabs
.
Next we need to create the TabView control.
Now that we have created the Tabview control, we can add some tabs.
Note that we are saving a reference to the tab containing the Editor's textarea in the variable called editorTab
Now that we have a place for the Editor to live, we can now render it.
You can load the necessary JavaScript and CSS for this example from Yahoo's servers. Click here to load the YUI Dependency Configurator with all of this example's dependencies preconfigured.
Note: Logging and debugging is currently turned off for this example.
Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Copyright Policy - Job Openings