[//lasso /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Open Source software. What about a donation today?" * * File Name: sample03.lasso * Sample page. * * File Authors: * Jason Huck (jason.huck@corefive.com) */ ] FCKeditor - Sample

FCKeditor - Lasso - Sample 3

This sample shows how to change the editor toolbar.
Select the toolbar to load: 

[//lasso include('../../fckeditor.lasso'); var('basepath') = response_filepath->split('_samples')->get(1); var('myeditor') = fck_editor( -instancename='FCKeditor1', -basepath=$basepath, -initialvalue='This is some sample text. You are using FCKeditor.' ); if(action_param('Toolbar')); $myeditor->toolbarset = action_param('Toolbar'); /if; $myeditor->create; ]