Configure basic HTML input format to NOT use markdown at all

Was considering doing this anyway because switching between the Markdown WYSIWYG
and regular CKEditor could really screw up formatting, but after the upgrade of
the Markdown module (which provides the underlying Markdown capability that
CKEditor Markdown uses, apparently) it absolutely destroyed every port of content
that was using the Basic HTML input format, in the way described way back in this
old comment on the upgrade issue, https://www.drupal.org/project/markdown/issues/3103679#comment-14289153

Anyway this configuration change fixed the major problem of the text being output with
no HTML formatting whatsoever.

Ref #227
This commit is contained in:
benjamin melançon 2022-03-08 15:43:26 -05:00
parent aa14d30664
commit 40735b8b8b
2 changed files with 6 additions and 18 deletions

View file

@ -42,18 +42,14 @@ settings:
- -
name: Tools name: Tools
items: items:
- Markdown
- Source - Source
- ShowBlocks - ShowBlocks
- Maximize - Maximize
plugins: plugins:
stylescombo:
styles: |
p.subtitle.is-mono.is-4|Mono subtitle
p.title.is-5.is-spaced|Small title
p.subtitle.is-6|Small subtitle
language: language:
language_list: un language_list: un
stylescombo:
styles: "p.subtitle.is-mono.is-4|Mono subtitle\r\np.title.is-5.is-spaced|Small title\r\np.subtitle.is-6|Small subtitle\r\n"
linebreaks: linebreaks:
method: force method: force
image_upload: image_upload:

View file

@ -4,7 +4,6 @@ status: true
dependencies: dependencies:
module: module:
- editor - editor
- markdown
_core: _core:
default_config_hash: 73bBl0mQ4I5Md9_FoI1V9MErX_I6ykC9gNKwLqb80Ko default_config_hash: 73bBl0mQ4I5Md9_FoI1V9MErX_I6ykC9gNKwLqb80Ko
name: 'Basic HTML' name: 'Basic HTML'
@ -17,7 +16,7 @@ filters:
status: true status: true
weight: -42 weight: -42
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> <br> <span> <img src alt data-entity-type data-entity-uuid data-align data-caption width height> <p class="subtitle is-mono is-4 title is-5 is-spaced is-6">' allowed_html: '<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol type start> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <br> <span> <img src alt data-entity-type data-entity-uuid data-align data-caption width height> <p class="subtitle is-mono is-4 title is-5 is-spaced is-6"> <h1> <pre>'
filter_html_help: false filter_html_help: false
filter_html_nofollow: false filter_html_nofollow: false
filter_align: filter_align:
@ -35,7 +34,7 @@ filters:
filter_html_image_secure: filter_html_image_secure:
id: filter_html_image_secure id: filter_html_image_secure
provider: filter provider: filter
status: true status: false
weight: -48 weight: -48
settings: { } settings: { }
editor_file_reference: editor_file_reference:
@ -53,13 +52,13 @@ filters:
filter_autop: filter_autop:
id: filter_autop id: filter_autop
provider: filter provider: filter
status: false status: true
weight: -45 weight: -45
settings: { } settings: { }
filter_url: filter_url:
id: filter_url id: filter_url
provider: filter provider: filter
status: false status: true
weight: -44 weight: -44
settings: settings:
filter_url_length: 72 filter_url_length: 72
@ -69,10 +68,3 @@ filters:
status: false status: false
weight: -41 weight: -41
settings: { } settings: { }
markdown:
id: markdown
provider: markdown
status: true
weight: -43
settings:
markdown_library: php-markdown