TinyMCE in extended mode

cesarvelame 19 Apr, 2016
Hi, how I can use the text editor in extended mode in my forms.

It only load in basic mode.

See in the attach.

I need the insert url button.

Thanks.
GreyHead 20 Apr, 2016
1 Likes
Hi cesarvelame,

If you need a WYSIWYG Editor you can add a plain text area in ChronoForms then link it to your editor of choice using a Load JavaScript action.

Bob

PS I am sure that we have answered this question before with more detail but right now I cant find the post :-(
cesarvelame 20 Apr, 2016
1 Likes
I found and it worked, thanks.

<?php
$editor =JFactory::getEditor();
$params = array( 'smilies'=> '0' ,
   'style'  => '1' ,  
   'layer'  => '0' , 
   'table'  => '0' ,
   'clear_entities'=>'0'
   );
echo $editor->display( 'fieldname', '', '400', '400', '20', '20', false, $params );
?>
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger