engine/app/assets/javascripts/locomotive/utils/aloha_settings.js.coffee

38 lines
722 B
CoffeeScript
Raw Permalink Normal View History

window.Aloha = window.Aloha ?= {}
window.Aloha.settings =
logLevels: { 'error': true, 'warn': true, 'info': false, 'debug': false }
errorhandling: true
plugins:
format:
config: [ 'b', 'i', 'u','del','sub','sup', 'p', 'title', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'pre', 'removeFormat']
editables:
'.editable-short-text' : [ 'b', 'i', 'u' ]
link:
config: [ 'a' ]
editables:
'.editable-short-text': [ ]
list:
config: [ 'ul' ]
editables:
'.editable-short-text': [ ]
2012-04-21 23:14:25 +00:00
image:
ui:
insert: false
crop: false
i18n:
available: ['en', 'fr', 'pt-BR', 'es', 'de', 'no', 'ru', 'nl']
sidebar:
disabled: true