[//lasso /* @Packager.Header Sample page. */ ] 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; ]