Cambios particulares en la configuración de CKEditor

This commit is contained in:
Manuel Cillero 2018-02-08 17:26:22 +01:00
parent 37f4666893
commit d8aa4e043d

113
config/ckeditor.yml Normal file
View file

@ -0,0 +1,113 @@
# CKEditor configuration
allowedContent: true
bodyClass: 'wiki'
removePlugins: 'div,flash,forms,iframe,elementspath'
forcePasteAsPlainText: false
entities: false
# 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