I'm able to get my MVC Razor project going. When I was doing my initial Hello World project, I was able to do some onpage editing on my start page. For whatever reason, I can't seem to edit on the page with any new pages. The light blue box does not show up nor does the sidebar with TinyMCE.I can only edit in forms editing mode. Is there something I have to do to a View or my Layout page to make this happen? This is a feature my content authors are going to need.
I've created my page types using the Episerver extentions. I have one type called StartPage with the default MainBody enabled.
How do you go about rendering the property?
I'd turn on firebug and see if there is any 500 error in "network" tab and then browser to that url. I'm been in the same situation and it was that path to editor style was wrong.
Peter, I simply had
Your reply made me go back to the @Html.PropertyFor(m => m.MainBody) and that was the trick. VS was showing a warning so I thought there was going to be an issue with it. Guess I was wrong :-).
I did not see any 500 errors in Firebug.
Thanks Ruwen for answering this. What PropertyFor does is making a call to DisplayFor with the property selected. But before that, we will make sure to set attributes in edit mode to make sure we get on page edit. If you just rendering it with @Model.MainBody, we have no chanse to do anything, becouse nothing in EPiServer will be called.