Yii Framework Forum: TinyMCE and FCKeditor support - Yii Framework Forum

Jump to content

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

TinyMCE and FCKeditor support Rate Topic: -----

#1 User is offline   MetaYii 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 393
  • Joined: 07-October 08
  • Location:The Matrix

Posted 04 November 2008 - 03:18 PM

I consider that the support for both TinyMCE and FCKeditor (both licenced under LGPL) is a must for Yii 1.0

How would be the best way to implement this? as methods in CHtml: CHtml::TinyMCE and CHtml::FCKeditor? or as widgets: CTinyMce and CFckEditor (maybe inherited from CInputWidget?)?  :-\

Thanks.
0

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,902
  • Joined: 04-October 08
  • Location:DC, USA

Posted 05 November 2008 - 12:36 PM

It is better to implement them as widgets by extending CInputWidget.
FCKeditor seems to be too big to be suitable for being included in the  framework release.
0

#3 User is offline   notzippy 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 201
  • Joined: 06-October 08

Posted 05 November 2008 - 01:09 PM

As a side note I am working on a widget for markItUp (http://markitup.jaysalvat.com/home/) which has this function plus it allows you to expand its use to other markup syntax like wiki & bbcode along with html
0

#4 User is offline   MetaYii 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 393
  • Joined: 07-October 08
  • Location:The Matrix

Posted 05 November 2008 - 01:16 PM

Quote

As a side note I am working on a widget for markItUp (http://markitup.jaysalvat.com/home/) which has this function plus it allows you to expand its use to other markup syntax like wiki & bbcode along with html

sounds cool!
0

#5 User is offline   rsubsonic 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 14
  • Joined: 08-October 08
  • Location:Norway

Posted 05 November 2008 - 01:29 PM

Could the support for these editors be implemented as an extension that we can easily add to the application if we need it?

I would like to keep the "core" framework as lightweight and simple as possible and add the stuff I need.
0

#6 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,902
  • Joined: 04-October 08
  • Location:DC, USA

Posted 05 November 2008 - 01:52 PM

Yeah, I think extensions are more suitable.

In the future, besides the framework release, we will also release some official extensions (such as TinyMCE or FCKeditor widgets). Users can also contribute their extensions to the repository.
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