UNPKG

@bigfishtv/cockpit

Version:

41 lines (30 loc) 1.3 kB
'use strict'; exports.__esModule = true; exports.createSettings = createSettings; require('../../lib/redactor/redactor'); require('../../lib/redactor-plugins/redactor.bufferButtons'); require('../../lib/redactor-plugins/redactor.source'); require('../../lib/redactor-plugins/redactor.styles'); require('../../lib/redactor-plugins/redactor.tags'); require('../../lib/redactor-plugins/redactor.table'); require('../../lib/redactor-plugins/redactor.stripTags'); require('../../lib/redactor-plugins/redactor.icons'); /** * Returns default cockpit Redactor settings object * @return {Object} */ /** * Redactor Utilities * @module Utilities/redactorUtils */ function createSettings() { return { plugins: ['bufferbuttons', 'source', 'styles', 'tags', 'table', 'buttons', 'stripTags', 'icons'], buttons: ['format', 'bold', 'italic', 'deleted', 'underline', 'lists', 'buttons', 'link', 'horizontalrule', 'clearformatting'], formatting: ['h2', 'h3', 'h4', 'p', 'blockquote'], blockTags: ['pre', 'ul', 'ol', 'li', 'p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'dl', 'dt', 'dd', 'div', 'th', 'td', 'blockquote', 'output', 'figcaption', 'figure', 'address', 'section', 'header', 'footer', 'aside', 'article', 'iframe'], toolbarFixedTopOffset: 133, animation: false, callbacks: {} }; }