suitepro/config/ckeditor.yml

143 lines
1.7 KiB
YAML

# CKEditor configuration:
contentsCss: '/themes/circlepro/stylesheets/editor.css'
allowedContent: true
bodyClass: 'wiki'
removePlugins: 'codemirror,div,flash,forms,iframe,copyformatting,elementspath'
forcePasteAsPlainText: false
entities: false
# CodeSnipet plugin configuration:
codeSnippet_languages: {
apache: 'Apache',
awk: 'Awk',
bash: 'Bash',
bat: '.bat / DOS',
cpp: 'C++',
css: 'CSS',
diff: 'Diff',
dockerfile: 'Dockerfile',
html: 'HTML',
ini: '.ini / TOML',
java: 'Java',
javascript: 'JavaScript',
json: 'JSON',
makefile: 'Makefile',
markdown: 'Markdown',
nginx: 'Nginx',
php: 'PHP',
perl: 'Perl',
ruby: 'Ruby',
rust: 'Rust',
sql: 'SQL',
xhtml: 'XHTML',
xml: 'XML',
yaml: 'YAML'
}
# Youtube plugin defaults:
youtube_responsive: true
# HTML sanitizer configuration:
allowedProtocols:
- afs
- aim
- callto
- ed2k
- feed
- ftp
- gopher
- http
- https
- irc
- mailto
- news
- nntp
- rsync
- rtsp
- sftp
- ssh
- tag
- telnet
- urn
- webcal
- xmpp
allowedTags:
- a
- abbr
- acronym
- address
- b
- big
- blockquote
- br
- caption
- cite
- code
- dd
- del
- dfn
- div
- dt
- em
- h1
- h2
- h3
- h4
- h5
- h6
- hr
- i
- iframe
- img
- ins
- kbd
- li
- ol
- p
- pre
- s
- samp
- small
- span
- strike
- strong
- sub
- sup
- table
- tbody
- td
- tfoot
- th
- thead
- tr
- tt
- u
- ul
- var
allowedAttributes:
- abbr
- align
- alt
- border
- cellpadding
- cellspacing
- cite
- class
- colspan
- datetime
- dir
- height
- href
- name
- nowrap
- reversed
- rowspan
- src
- start
- style
- title
- valign
- width
- xml:lang