Saturday, 15 September 2012

cannot type into tinymce textarea when jquery-ui.min.js is included - MASTERPAGE RELATED -


I tested many resources but nobody else found the same issue. When I clicked on TinyMCE did not click: script src = "../ script / jQuery-ui.min.js" & gt; & Lt; / Script & gt; & lt I am this, it is not, so does the right thing if I include it, so I can not click inside the text and type something. The problem I need to include the file to jQuery ui

  & lt; Do you know what's going on here;.? Link href = "..//content/bootstrap.min.css" rel = "stylesheet" /> & Lt; Link href = "../content/jquery-ui.min.css" rel = "stylesheet" /> & Lt; Script src = "../script/jquery-1.9.1.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "../script/jquery-ui.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "../script/bootstrap.money.js" & gt; & Lt; / Script & gt; & Lt; Script src = "../script/tinymce/tinymce.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "../script/tinymce/jquery.tinymce.min.js" & gt; & Lt; / Script & gt; & Lt; Script & gt; Tinymce.init ({selector: "text area # txt_PostComment", subject: "modern", menubar: false, status: false, toolbar_items_size: 'small', plugins: ["advlist automatic link lists link image charmap printing anchor hours anchor Pagebreak "," searchreplace wordcount visualblocks visualchocks code fullscreen "," insertdatetime media nonbreaking table context menu directionality "" emoticon template paste textcolor "], width: '100%', toolbar1:" file insert undo | styleselect | bold italic | Alignleft aligncenter alignright align Justify | bullist numbered outdent demand sheet | link image ", toolbar2:" print preview media | forecolor backcolor emoticon ", image_advtab: true, templates: [{title: 'test template1', content: 'test1'} {title : 'Test template2', content: 'test2'}]}); & Lt; / Script & gt; & Lt; Textarea id = "txt_Post comment" & gt; Your content here & Lt; / Textarea & gt;  

UPDATE

I have this problem only in pages that use the masterpiece. I tested it in other pages, it is great Did you know why the masterpage is due to this?

Below it looks how when TinyMCE is used in a webform without a masterpage vs. in a webform with a masterpage. You will see that the page in the section is empty with the master page, which is the problem

is not working:

working

To resolve this you need to jquery noconflict Have to use. $ NoConflict ();


No comments:

Post a Comment