From 6a0674dc4ed77245441aaf31e0b102c00b50f8bb Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 15 May 2017 20:54:44 +0200 Subject: Use Trumbowyg to edit articles. This patch also updates jQuery to v3.2.1. --- static-files/journal/trumbowyg/trumbowyg.template.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100755 static-files/journal/trumbowyg/trumbowyg.template.min.js (limited to 'static-files/journal/trumbowyg/trumbowyg.template.min.js') diff --git a/static-files/journal/trumbowyg/trumbowyg.template.min.js b/static-files/journal/trumbowyg/trumbowyg.template.min.js new file mode 100755 index 0000000..ffd7c21 --- /dev/null +++ b/static-files/journal/trumbowyg/trumbowyg.template.min.js @@ -0,0 +1 @@ +!function(t){"use strict";function e(e){var n=e.o.plugins.templates,a=[];return t.each(n,function(t,n){e.addBtnDef("template_"+t,{fn:function(){e.html(n.html)},hasIcon:!1,title:n.name}),a.push("template_"+t)}),a}t.extend(!0,t.trumbowyg,{langs:{en:{template:"Template"},nl:{template:"Sjabloon"}}}),t.extend(!0,t.trumbowyg,{plugins:{template:{shouldInit:function(t){return t.o.plugins.hasOwnProperty("templates")},init:function(t){t.addBtnDef("template",{dropdown:e(t),hasIcon:!1,text:t.lang.template})}}}})}(jQuery); \ No newline at end of file -- cgit v1.2.3