From f4329d61761585f9fd31997795ded87f15dbe3da Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 27 Sep 2015 20:36:38 +0200 Subject: [PATCH] Paste should result in a clean Markdown code * jquery.htmlClean.min.js: * in order to paste from any(?) document * rangy-selectionsaverestore.js: required by hallo html cleanup * App.master: * A link to awesome fonts * a hint, to engage to invoice :-) * rangy-core.js: using the bower installed one * to-markdown.js: using the new code, came from the `npm start` process * Edit.aspx: fixes copy/paste from LibreOffice writter colored text. * Web.csproj: using new javascript references to: rangy-core, rangy-selectionsaverestore jquery.htmlClean * mdd_help.htm: * mdd_styles.css: * rangyinputs-jquery-1.1.2.js: obsolete --- web/ChangeLog | 26 + web/Models/App.master | 7 +- web/Scripts/jquery.htmlClean.min.js | 1 + web/Scripts/mdd_help.htm | 168 - web/Scripts/mdd_styles.css | 211 -- web/Scripts/rangy-core.js | 3856 ++++++++++++++++++++- web/Scripts/rangy-selectionsaverestore.js | 252 ++ web/Scripts/rangyinputs-jquery-1.1.2.js | 274 -- web/Scripts/to-markdown.js | 6 +- web/Views/Blogs/Edit.aspx | 56 +- web/Web.csproj | 6 +- 11 files changed, 4179 insertions(+), 684 deletions(-) create mode 100644 web/Scripts/jquery.htmlClean.min.js delete mode 100644 web/Scripts/mdd_help.htm delete mode 100644 web/Scripts/mdd_styles.css create mode 100644 web/Scripts/rangy-selectionsaverestore.js delete mode 100644 web/Scripts/rangyinputs-jquery-1.1.2.js diff --git a/web/ChangeLog b/web/ChangeLog index 7b5abf2a..baaec05e 100644 --- a/web/ChangeLog +++ b/web/ChangeLog @@ -1,3 +1,29 @@ +2015-09-27 Paul Schneider + + * jquery.htmlClean.min.js: * in order to paste from any(?) + document + + * rangy-selectionsaverestore.js: required by hallo html + cleanup + + * App.master: * A link to awesome fonts + * a hint, to engage to invoice :-) + + * rangy-core.js: using the bower installed one + + * to-markdown.js: using the new code, came from the `npm + start` process + + * Edit.aspx: fixes copy/paste from LibreOffice writter colored + text. + + * Web.csproj: using new javascript references to: + rangy-core, rangy-selectionsaverestore jquery.htmlClean + + * mdd_help.htm: + * mdd_styles.css: + * rangyinputs-jquery-1.1.2.js: obsolete + 2015-09-25 Paul Schneider * BlogsController.cs: Fixes the Markdown usage of the uploaded diff --git a/web/Models/App.master b/web/Models/App.master index d6ff15b1..64bf7d5b 100644 --- a/web/Models/App.master +++ b/web/Models/App.master @@ -2,8 +2,8 @@ -<% -ViewState["orgtitle"] = Html.Translate(Page.Title); + +<% ViewState["orgtitle"] = Html.Translate(Page.Title); Page.Title = ViewState["orgtitle"] + " - " + YavscHelpers.SiteName; %> @@ -11,6 +11,7 @@ ViewState["orgtitle"] = Html.Translate(Page.Title); +" /> @@ -38,7 +39,7 @@ var apiBaseUrl = '<%=Url.Content(Yavsc.WebApiConfig.UrlPrefixRelative)%>'; <% if (Membership.GetUser()==null) { %> <% } else { %>