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

View file

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

View file

@ -16,7 +16,7 @@ filters:
status: true
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> <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_nofollow: false
filter_align:

View file

@ -34,3 +34,12 @@ filters:
status: true
weight: 11
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