Yii Framework Forum: [EXTENSION] TinyEditor - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[EXTENSION] TinyEditor 9K HTML5 WYSIWYG editor Rate Topic: -----

#1 User is offline   evc 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 28-October 11

Posted 27 July 2012 - 03:05 AM

Just created an extension for Yii 1.1 (and probably below) for TinyEditor pure javascript HTML5 WYSIWYG editor.

Usage example with model:
$this->widget('application.extensions.tinyeditor.ETinyEditor',array(
	'model'=>$model,
	'attribute'=>'text',
	// additional javscript options
	'options'=>array(
		'width'=>'100%',
	),
));


Usage example without model:
$this->widget('application.extensions.tinyeditor.ETinyEditor',array(
	'name'=>'text',
	'value'=>'Contents of editing text',
));


Available options you can view in ETinyEditor.php class.

Any responses or bugreports will be appreciated.

Attached File(s)


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users