I have got a problem when using nicEditor for my textarea editors in mvc project.
Here is the 2 view pages that I have created.From the First View I pass route values to the Second view
<ul class="mar">
@foreach (var item in Model)
{
<li class="mar" style="list-style-type:none">
<div style="display:inline-block;font-size:small">
<a id="arrow_@item.thread.MessageID" class="glyphicon glyphicon-triangle-right" style="text-decoration:none;cursor:pointer;color:dimgray"
onclick="toggle(@item.thread.MessageID)"></a>
<h3 class="mar" style="display:inline-block;"><a href="@Url.Action("GetMessage", "Home", routeValues: new{id=thread.Title.MessageID})"
style="text-decoration:none;cursor:pointer">@item.thread.Title</a></h3>
</div>
<li>
</ul>
Second View
@Scripts.Render("~/bundles/jquery")
<script type="text/javascript" src="~/Scripts/nicEdit.js"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
</script>
<h2>GetMessage</h2>
<textarea style="width:900px"></textarea>
Here second view displays the niceditor(textarea) without its images inbuild with the nicEditorImage may be NSFW.
Clik here to view.
When I remove the passing route values from the First View,then it works Fine..
Image may be NSFW.
Clik here to view.
I dont know whats really making the button images disappears??However I clearly found that when I remove the route values from the anchor tag the editor displays properly in the second view...Please tell me What is the actual problem??
Anzal