Yes, I noticed that before as well. Could you please point me out how to 
specify a prefix or an id for the editor. I tried couple of things but it 
hasn't worked yet.Thanks

From: bertrand.le....@microsoft.com
To: orchard-discuss@lists.outercurve.org
Subject: RE: Multipule TinyMCE editors per page
Date: Tue, 23 Aug 2011 00:06:58 +0000











You might have to specify a prefix or an id. If you check out the generated 
HTML, I’d bet your editors have the same id.
 


From: Tuan Truong [mailto:tuanvutru...@hotmail.com]


Sent: Tuesday, August 16, 2011 3:59 AM

To: orchard-discuss@lists.outercurve.org

Subject: Multipule TinyMCE editors per page


 


 


Hello everyone,


 


In my module project, I have a form where there are multiple html editors , 
however, when the form is displayed , only the first text area get populated 
with tinymce mark-up,
 the others doesn't. I have searched the forum and found this thread:


http://orchard.codeplex.com/workitem/17368


However, I am using the latest version of Orchard and I have looked at the 
tinymce init code and it seems to be fine.


Here is the bit of my syntax:


 



<fieldset>


    @Html.LabelFor(model => model.Description, T("Description"))


    @Display.Body_Editor(Text: Model.Description, EditorFlavor: "html")


    @Html.ValidationMessageFor(model => model.Description, "*")


 


</fieldset>



 



<fieldset>


    @Html.LabelFor(model => model.Comment, T("Comment"))


    @Display.Body_Editor(Text: Model.Comment, EditorFlavor: "html")


    @Html.ValidationMessageFor(model => model.Comment, "*")


</fieldset>



 


Is there something wrong with my syntax or do I need to change the way tinymce 
setup?. Please help.


Thanks


 


---


You are currently subscribed to orchard-discuss as: 
bertrand.le....@microsoft.com. 

To unsubscribe send a blank email to 
leave-orchard-disc...@lists.outercurve.org. 


---


You are currently subscribed to orchard-discuss as: tuanvutru...@hotmail.com.


To unsubscribe send a blank email to 
leave-orchard-disc...@lists.outercurve.org.                                     
     

---
You are currently subscribed to orchard-discuss as: arch...@mail-archive.com.
To unsubscribe send a blank email to leave-orchard-disc...@lists.outercurve.org.

Reply via email to