mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Refactoring content capture into a InnerWriter substitution. Adding content dictionary to layout context.
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4044310
This commit is contained in:
@@ -128,6 +128,12 @@
|
||||
<Content Include="Views\Shared\EditorTemplates\TinyMceTextEditor.ascx" />
|
||||
<Content Include="Views\Web.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\Orchard\Orchard.csproj">
|
||||
<Project>{2D1D92BB-4555-4CBE-8D0E-63563D6CE4C6}</Project>
|
||||
<Name>Orchard</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<string>" %>
|
||||
<%@ Import Namespace="System.Web.Mvc.Html" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html" %>
|
||||
<%@ Import Namespace="System.Web.Mvc.Html" %>
|
||||
<% Html.RegisterScript("tiny_mce.js"); %>
|
||||
<%=Html.TextArea("", Model, 25, 80, new { @class = "html" }) %>
|
||||
|
||||
<%using (this.Capture("end-of-page-scripts")) {%>
|
||||
<script type="text/javascript">
|
||||
tinyMCE.init({
|
||||
theme: "advanced",
|
||||
@@ -16,3 +18,4 @@
|
||||
theme_advanced_buttons3: ""
|
||||
});
|
||||
</script>
|
||||
<%}%>
|
||||
|
||||
Reference in New Issue
Block a user