Very quickly, sorry but I'm getting ready to head out for the morning, yes.
That is, I did not have to create the JavaScript (though I did have to
modify the Editor helper just slightly) nor did I need to require the
dijit.Editor module.

I would try removing the conditional to check whether isEnabled() may be the
problem. I'll post my stuff later so that you have something to look at.


gwellman wrote:
> 
> I'm having trouble getting this working as expected.
> 
> Did the dojo view helper put all the javascript into the viewscript for
> you? or did you have to put in the javascript yourself? 
> 
> I'm currently using this:
> http://www.paste2.org/p/103439
> 
> It's generating the right html for the form but no javascript to go with
> it.
> 
> Any help on this would be greatly appreciated.
> 
> 
> Matthew Lurz wrote:
>> 
>> I've been unable to get this working and so thought I would post some
>> code to see if anyone might see something out of place.
>> 
>> Here's the form class:
>> 
>> http://www.paste2.org/p/97000
>> 
>> I found this post,
>> http://www.nabble.com/two-column-site-to19665005.html#a19670193, but
>> changing the location where the element is created didn't have any impact
>> for me.
>> 
>> Here's an action method. The other form elements are saved, but not
>> 'content'. I've checked the values of $_POST as well and seems the
>> element is never populated though the JavaScript (see below) looks good
>> to me.
>> 
>> http://www.paste2.org/p/97003
>> 
>> Here's the HTML output:
>> 
>> http://www.paste2.org/p/97004
>> 
>> As I stated in the initial post, I've tried several variations of ZF and
>> Dojo versions. Any help would be greatly appreciated.
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Dijit-Editor-tp20141019p20559996.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to