disabled video embed in full html format (for email), added syntax hightlighting with ckeditor_codeminor

This commit is contained in:
2021-09-16 11:17:29 +02:00
parent 277f3cb445
commit feb11b3971
7 changed files with 139 additions and 19 deletions

View File

@@ -22,6 +22,7 @@ module:
bulkdelete: 0
checklistapi: 0
ckeditor: 0
ckeditor_codemirror: 0
ckeditor_font: 0
ckeditor_uploadimage: 0
colorbutton: 0

View File

@@ -41,7 +41,6 @@ settings:
name: Média
items:
- DrupalImage
- video_embed
-
name: Outils
items:
@@ -54,10 +53,30 @@ settings:
- JustifyRight
- JustifyBlock
plugins:
drupallink:
linkit_enabled: true
linkit_profile: default
stylescombo:
styles: ''
language:
language_list: un
codemirror:
enable: true
startupMode: wysiwyg
mode: htmlmixed
theme: monokai
options:
lineNumbers: true
lineWrapping: true
matchBrackets: true
autoCloseTags: true
autoCloseBrackets: true
enableSearchTools: true
enableCodeFolding: true
enableCodeFormatting: true
autoFormatOnStart: true
autoFormatOnModeChange: true
autoFormatOnUncomment: true
font:
font_names: ''
font_sizes: ''
@@ -70,9 +89,6 @@ settings:
responsive: true
width: '854'
height: '480'
drupallink:
linkit_enabled: true
linkit_profile: default
image_upload:
status: true
scheme: public

View File

@@ -53,10 +53,35 @@ settings:
- PasteText
- PasteFromWord
plugins:
drupallink:
linkit_enabled: true
linkit_profile: default
stylescombo:
styles: h4.inter-titre|Inter-titre
language:
language_list: un
codemirror:
enable: true
startupMode: wysiwyg
mode: htmlmixed
theme: monokai
options:
lineNumbers: true
lineWrapping: true
matchBrackets: true
autoCloseTags: true
autoCloseBrackets: true
enableSearchTools: true
enableCodeFolding: true
enableCodeFormatting: true
autoFormatOnStart: true
autoFormatOnModeChange: true
autoFormatOnUncomment: true
font:
font_names: ''
font_sizes: ''
colorbutton:
colors: ''
video_embed:
defaults:
children:
@@ -64,9 +89,6 @@ settings:
responsive: true
width: '854'
height: '480'
drupallink:
linkit_enabled: true
linkit_profile: default
image_upload:
status: true
scheme: public

View File

@@ -4,8 +4,8 @@ status: true
dependencies:
module:
- editor
- linkit
- url_to_video_filter
- video_embed_wysiwyg
name: 'full html'
format: full_html
weight: -9
@@ -32,19 +32,13 @@ filters:
filter_url_to_video:
id: filter_url_to_video
provider: url_to_video_filter
status: true
status: false
weight: 0
settings:
youtube: '1'
youtube_webp_preview: '0'
vimeo: '1'
autoload: '0'
video_embed_wysiwyg:
id: video_embed_wysiwyg
provider: video_embed_wysiwyg
status: true
weight: 0
settings: { }
editor_file_reference:
id: editor_file_reference
provider: editor
@@ -57,7 +51,7 @@ filters:
status: false
weight: -10
settings:
allowed_html: '<a href hreflang data-entity-type data-entity-uuid data-entity-substitution> <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> <img src alt data-entity-type data-entity-uuid data-entity-substitution> <s> <p> <h1> <pre>'
allowed_html: '<a href hreflang data-entity-type data-entity-uuid data-entity-substitution> <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> <img src alt data-entity-type data-entity-uuid data-entity-substitution> <s> <p> <h1> <pre> <u> <span>'
filter_html_help: true
filter_html_nofollow: false
linkit:

View File

@@ -4,6 +4,7 @@ status: true
dependencies:
module:
- editor
- linkit
- url_to_video_filter
_core:
default_config_hash: w3wAkgsV6hn7P_cXCSnV-_1B_HOVJ7qwjv2DZID3B7g
@@ -48,7 +49,7 @@ filters:
status: false
weight: -43
settings:
allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h5 id> <h6 id> <u> <a href hreflang !href accesskey id rel target title data-entity-type data-entity-uuid data-entity-substitution data-entity-substitution data-entity-type data-entity-uuid data-entity-substitution> <img src alt data-entity-type data-entity-uuid data-entity-substitution data-entity-substitution> <p> <h1> <pre> <h4 id class="inter-titre">'
allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h5 id> <h6 id> <u> <a href hreflang !href accesskey id rel target title data-entity-type data-entity-uuid data-entity-substitution> <img src alt data-entity-type data-entity-uuid data-entity-substitution> <p> <h1> <pre> <h4 id class="inter-titre">'
filter_html_help: true
filter_html_nofollow: false
filter_align:
@@ -77,8 +78,8 @@ filters:
settings:
youtube: '1'
youtube_webp_preview: '0'
autoload: '0'
vimeo: '1'
autoload: '0'
linkit:
id: linkit
provider: linkit