how to enable jquery ui in block edit/add mode ?

Permalink
Now if I use
echo $form->text('content', array('style' => 'width: 320px'));
I get very simple input field. How can I utilise existing concrete5 jquery UI when block is in edit or add mode?

I've tryed following this:http://andrewembler.com/posts/javascript-jquery-and-concrete5/...
and adding public on_page_view() in block controller class, but it didn't work for me.

tnx ppl

 
hemantyadav replied on at Permalink Reply
Hello ,

You can use
if($c->isEditMode()) {
// do your stuff here
}else{
// do your stuff here
}
to check you are in edit mode or not.

Thanks
eOne replied on at Permalink Reply
I am sorry but I don't understand.
I want to make visual appereance of block editing/adding to use jQuery UI.
What would I do with if isEdit ?