[//lasso /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 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: sample04.lasso * Sample page. * * File Authors: * Jason Huck (jason.huck@corefive.com) */ ] FCKeditor - Sample

FCKeditor - Lasso - Sample 4

This sample shows how to change the editor skin.
Select the skin 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('Skin')); $myeditor->config = array('SkinPath' = $basepath + 'editor/skins/' + action_param('Skin') + '/'); /if; $myeditor->create; ]