* mdd_styles.css: Modifies the colors
used for the markdown toolbar, in order to see the button images built in black on transparent. (Black theme) * Edit.aspx: Makes resizable the Markdown editor textarea * EventPub.aspx: Code formatting * Web.csproj: Fixes the Mardown styles deployment.
This commit is contained in:
@ -113,6 +113,8 @@ div.mdd_toolbar li
|
||||
margin:0;
|
||||
padding:0;
|
||||
list-style:none;
|
||||
background-color:#777;
|
||||
color:black;
|
||||
}
|
||||
|
||||
div.mdd_toolbar a.mdd_button
|
||||
@ -176,7 +178,6 @@ div.mdd_links a:hover
|
||||
textarea.mdd_editor
|
||||
{
|
||||
width:100%;
|
||||
resize:none;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
<br/>
|
||||
<%= Html.LabelFor(model => model.Content) %>:<br/>
|
||||
<div class="mdd_toolbar"></div>
|
||||
<%= Html.TextArea( "Content" , new { @class="mdd_editor", @rows="15" }) %>
|
||||
<%= Html.TextArea( "Content" , new { @class="mdd_editor"}) %>
|
||||
<div class="mdd_resizer"></div>
|
||||
<div class="mdd_preview"></div>
|
||||
<%= Html.ValidationMessage("Content", "*") %>
|
||||
@ -43,10 +43,11 @@
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("textarea.mdd_editor").MarkdownDeep({
|
||||
help_location: "/Scripts/html/mdd_help.htm",
|
||||
disableTabHandling:true
|
||||
});
|
||||
disableTabHandling:false
|
||||
});});
|
||||
</script>
|
||||
|
||||
</asp:Content>
|
||||
|
@ -17,7 +17,4 @@
|
||||
|
||||
<% } %>
|
||||
|
||||
|
||||
|
||||
|
||||
</asp:Content>
|
@ -351,6 +351,7 @@
|
||||
<Content Include="Theme\md\mdd_ajax_loader.gif" />
|
||||
<Content Include="Theme\md\mdd_gripper.png" />
|
||||
<Content Include="Theme\md\mdd_modal_background.png" />
|
||||
<Content Include="Theme\mdd_styles.css" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
|
Reference in New Issue
Block a user