Add markdown button to CKEditor menu bars

This commit is contained in:
benjamin melançon 2018-10-20 23:32:40 -04:00
parent 0419c65dc0
commit e3f42b0977
4 changed files with 20 additions and 5 deletions

View file

@ -17,6 +17,7 @@ settings:
- -
name: Formatting name: Formatting
items: items:
- Markdown
- Bold - Bold
- Italic - Italic
- -
@ -43,6 +44,8 @@ settings:
items: items:
- Source - Source
plugins: plugins:
language:
language_list: un
stylescombo: stylescombo:
styles: '' styles: ''
image_upload: image_upload:
@ -51,5 +54,5 @@ image_upload:
directory: inline-images directory: inline-images
max_size: '' max_size: ''
max_dimensions: max_dimensions:
width: 0 width: null
height: 0 height: null

View file

@ -17,6 +17,7 @@ settings:
- -
name: Formatting name: Formatting
items: items:
- Markdown
- Bold - Bold
- Italic - Italic
- Strike - Strike
@ -51,6 +52,8 @@ settings:
- ShowBlocks - ShowBlocks
- Source - Source
plugins: plugins:
language:
language_list: un
stylescombo: stylescombo:
styles: '' styles: ''
image_upload: image_upload:
@ -59,5 +62,5 @@ image_upload:
directory: inline-images directory: inline-images
max_size: '' max_size: ''
max_dimensions: max_dimensions:
width: 0 width: null
height: 0 height: null

View file

@ -16,7 +16,7 @@ filters:
status: true status: true
weight: -10 weight: -10
settings: settings:
allowed_html: '<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <p> <br> <span> <img src alt height width data-entity-type data-entity-uuid data-align data-caption>' allowed_html: '<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <p> <br> <span> <img src alt data-entity-type data-entity-uuid data-align data-caption width height>'
filter_html_help: false filter_html_help: false
filter_html_nofollow: false filter_html_nofollow: false
filter_align: filter_align:

View file

@ -34,3 +34,12 @@ filters:
status: true status: true
weight: 11 weight: 11
settings: { } settings: { }
filter_html:
id: filter_html
provider: filter
status: false
weight: -10
settings:
allowed_html: '<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <s> <sup> <sub> <img src alt data-entity-type data-entity-uuid data-align data-caption> <table> <caption> <tbody> <thead> <tfoot> <th> <td> <tr> <hr> <p> <h1> <pre>'
filter_html_help: true
filter_html_nofollow: false