From 8aade12bd73c221efacacac135bf72ebb246bde9 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 26 Feb 2012 00:57:47 +0100 Subject: Simplify Aloha Editor initialization. --- static/js/wiki.js | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'static') diff --git a/static/js/wiki.js b/static/js/wiki.js index 6680029..49999ca 100644 --- a/static/js/wiki.js +++ b/static/js/wiki.js @@ -21,42 +21,6 @@ mulk.savePage = function() { }; jQuery(function ($) { - if (!window.Aloha) { - window.Aloha = {}; - } - window.Aloha.settings = { - logLevels: {'error': true, 'warn': true, 'info': true, 'debug': false}, - errorhandling : false, - ribbon: false, - - "i18n": { - "current": "de" - }, - "repositories": { - linklist: "/3rdparty/alohaeditor/aloha/plugins/common/link/extra" - }, - "plugins": { - "format": { - config : [ 'b', 'i','sub','sup'], - editables : { - '#title' : [ ], - 'div' : [ 'b', 'i', 'del', 'sub', 'sup' ], - '.article' : [ 'b', 'i', 'p', 'title', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'pre', 'removeFormat'] - } - }, - "list": { - }, - "link": { - config : [ 'a' ], - }, - "table": { - config : [ ], - }, - "image": { - } - } - }; - Aloha.ready(function() { var $$ = Aloha.jQuery; -- cgit v1.2.3