ASP.NET MVC Rich Text Editor not showing buttons -


I have problems with applying the rich text editor (all that I have tried to do, eg TinyMCE). I tried many tutorials and articles but all were the same. When I'm trying, I get the best job working in IE (8), but not another browser (Opera, FF, Chrome). Download the samples that I work fine in all browsers I like VS2010 asp.NET MVC2 and eg. I tried this thanks for help

I used the following ViewUserControl

  & lt;% @ Control Language = "C #" Inheritance = "System web.mvc.WUUSUSR controller & gt; dynamic & gt;" & Gt%; & Lt; Script type = "text / javascript" & gt; , "Safari, spell-checker:" articleBody "subject: // Note that the editor text field ({Elements articleBody tinyMCE.init should be an id" advanced ", mode:" exact ", height:" 300 ", plugins Pagebreak, autosave, table, advimage, iespell, inlinepopups, paste, nonbreaking, template, full screen, paste ", theme_advanced_buttons1:" bold, italic, underline, forecolor, | undo, redo, |, link, unlink pastetext , |, Justifylft, justifycenter, justifyright, | blockquote, bullist, numlist ", theme_advanced_buttons2:" ", theme_advanced_buttons3:" ", theme_advanced_toolbar_location:" top ", theme_advanced_toolbar_align:" g E "}); & Lt; / Script & gt;  

Note: There is a tiny_mce directory with the script / source / languages ​​/ plugins / themes / utils that there

to include it on your page: < / P>

  & lt;% HTML.Renderpartial ("Editor"); & Gt%; & Lt;% = Html.TextAreaFor (model => model.Draft.Body, new {name = "content", @class = "text", id = "articleBody", style = "width: 100%"} )% & Gt;  

Place your textier anywhere on the page where you see fit and remember that it will expand the width or wrapping of the total buttons you add to the 100% of the divas


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -