Yii Framework Forum: Yiibooster Html5Editorrow - Yii Framework Forum

Jump to content

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

Yiibooster Html5Editorrow How to use it via Ajax Rate Topic: -----

#1 User is offline   Jose H. Milán 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 28
  • Joined: 21-July 11
  • Location:España

Posted 10 May 2013 - 08:43 AM

Hi there!

I have a simple question. I'm using html5EditorRow in some forms of one of my apps and it works great. The problem is when I try to use it in a form which is rendered by a partial and this partial is called by an ajaxRequest. At this moment html5editorrow doesn't work and just a simple textarea is rendered.

I have tried to call this renderPartial with processOutput flag set to true, but it doesn't work neither.

Any clue?

I think html5EditorRow inject a iframe and so... and a bit missing, I don't know how to solve it.

Thanks in advance
0

#2 User is offline   Antonio Ramirez 

  • Elite Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 1,450
  • Joined: 04-October 10

Posted 10 May 2013 - 02:09 PM

I would register the js files on the view that makes the ajax request...

After rendering will call the initialization scripts to convert the html5editor... thats what i normally do
¿How long would it take for you to understand that you own nothing in this world?

www.ramirezcobos.com
www.2amigos.us
www.github.com/tonydspaniard
www.github.com/2amigos


Posted Image
0

#3 User is offline   Jose H. Milán 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 28
  • Joined: 21-July 11
  • Location:España

Posted 11 May 2013 - 06:06 PM

View PostAntonio Ramirez, on 10 May 2013 - 02:09 PM, said:

I would register the js files on the view that makes the ajax request...

After rendering will call the initialization scripts to convert the html5editor... thats what i normally do


Hi Antonio,

Thank you for your response. I'm not sure if I am understanding you. I use yiibooster 1.0.6 and the extension si preloaded so js files are registered in head section, aren't they? What are exactly these initialization scripts?

Thanks again
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