summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-26 00:57:47 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-26 00:57:47 +0100
commit8aade12bd73c221efacacac135bf72ebb246bde9 (patch)
tree268436b1bf00c7919e899c02455f0cc24d008e78 /static
parent9abb008504a14c15d1c288cc66ae3a6fea880dc5 (diff)
Simplify Aloha Editor initialization.
Diffstat (limited to 'static')
-rw-r--r--static/js/wiki.js36
1 files changed, 0 insertions, 36 deletions
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;