* 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:
parent
624c29d5db
commit
8447f15968
4 changed files with 203 additions and 203 deletions
|
|
@ -113,6 +113,8 @@ div.mdd_toolbar li
|
||||||
margin:0;
|
margin:0;
|
||||||
padding:0;
|
padding:0;
|
||||||
list-style:none;
|
list-style:none;
|
||||||
|
background-color:#777;
|
||||||
|
color:black;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.mdd_toolbar a.mdd_button
|
div.mdd_toolbar a.mdd_button
|
||||||
|
|
@ -176,7 +178,6 @@ div.mdd_links a:hover
|
||||||
textarea.mdd_editor
|
textarea.mdd_editor
|
||||||
{
|
{
|
||||||
width:100%;
|
width:100%;
|
||||||
resize:none;
|
|
||||||
margin:0;
|
margin:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<br/>
|
<br/>
|
||||||
<%= Html.LabelFor(model => model.Content) %>:<br/>
|
<%= Html.LabelFor(model => model.Content) %>:<br/>
|
||||||
<div class="mdd_toolbar"></div>
|
<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_resizer"></div>
|
||||||
<div class="mdd_preview"></div>
|
<div class="mdd_preview"></div>
|
||||||
<%= Html.ValidationMessage("Content", "*") %>
|
<%= Html.ValidationMessage("Content", "*") %>
|
||||||
|
|
@ -43,10 +43,11 @@
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
$(document).ready(function () {
|
||||||
$("textarea.mdd_editor").MarkdownDeep({
|
$("textarea.mdd_editor").MarkdownDeep({
|
||||||
help_location: "/Scripts/html/mdd_help.htm",
|
help_location: "/Scripts/html/mdd_help.htm",
|
||||||
disableTabHandling:true
|
disableTabHandling:false
|
||||||
});
|
});});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,4 @@
|
||||||
|
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|
@ -351,6 +351,7 @@
|
||||||
<Content Include="Theme\md\mdd_ajax_loader.gif" />
|
<Content Include="Theme\md\mdd_ajax_loader.gif" />
|
||||||
<Content Include="Theme\md\mdd_gripper.png" />
|
<Content Include="Theme\md\mdd_gripper.png" />
|
||||||
<Content Include="Theme\md\mdd_modal_background.png" />
|
<Content Include="Theme\md\mdd_modal_background.png" />
|
||||||
|
<Content Include="Theme\mdd_styles.css" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue