Skip to content

Commit

Permalink
D8CORE-7424 Added various HTML attributes to the WSYIWYG allowed list
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Jul 17, 2024
1 parent 05ec5d1 commit 70cdde2
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
56 changes: 28 additions & 28 deletions config/sync/editor.editor.stanford_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,35 +113,35 @@ settings:
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags:
- '<b>'
- '<cite>'
- '<dt>'
- '<pre class>'
- '<code data-* class>'
- '<dl class>'
- '<dd class>'
- '<div id class>'
- '<i class>'
- '<aside class>'
- '<img src alt title class>'
- '<abbr id title>'
- '<span id class>'
- '<blockquote cite>'
- '<ul id type class>'
- '<ol id type class>'
- '<li id class>'
- '<h2 id class>'
- '<h3 id class>'
- '<h4 id class>'
- '<h5 id class>'
- '<table id class>'
- '<tbody class>'
- '<th scope id class>'
- '<td id class>'
- '<tr id>'
- '<b aria-* class dir id lang title>'
- '<cite aria-* class dir id lang title>'
- '<dt aria-* class dir id lang title>'
- '<pre aria-* class dir id lang title>'
- '<code data-* aria-* class dir id lang title>'
- '<dl aria-* class dir id lang title>'
- '<dd aria-* class dir id lang title>'
- '<div role aria-* class dir id lang title>'
- '<i role aria-* class dir id lang title>'
- '<aside aria-* class dir id lang title>'
- '<img src alt title aria-* class dir id lang>'
- '<abbr aria-* class dir id lang title>'
- '<span aria-* class dir id lang title>'
- '<blockquote cite aria-* class dir id lang title>'
- '<ul type aria-* class dir id lang title>'
- '<ol type aria-* class dir id lang title>'
- '<li aria-* class dir id lang title>'
- '<h2 aria-* class dir id lang title>'
- '<h3 aria-* class dir id lang title>'
- '<h4 aria-* class dir id lang title>'
- '<h5 aria-* class dir id lang title>'
- '<table aria-* class dir id lang title>'
- '<tbody aria-* class dir id lang title>'
- '<th scope aria-* class dir id lang title>'
- '<td aria-* class dir id lang title>'
- '<tr aria-* class dir id lang title>'
- '<drupal-media data-* title>'
- '<a aria-label hreflang data-entity-substitution data-entity-type data-entity-uuid title name class>'
- '<p id class>'
- '<a hreflang data-entity-substitution data-entity-type data-entity-uuid name aria-* class dir id lang title>'
- '<p aria-* class dir id lang title>'
ckeditor5_style:
styles:
-
Expand Down
16 changes: 8 additions & 8 deletions config/sync/editor.editor.stanford_minimal_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ settings:
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags:
- '<h2 id class>'
- '<h3 id class>'
- '<h4 id class>'
- '<h5 id class>'
- '<h6 id class>'
- '<h2 aria-* class dir id lang title>'
- '<h3 aria-* class dir id lang title>'
- '<h4 aria-* class dir id lang title>'
- '<h5 aria-* class dir id lang title>'
- '<h6 aria-* class dir id lang title>'
- '<cite>'
- '<dd>'
- '<div id class>'
- '<div aria-* class dir id lang title>'
- '<blockquote cite>'
- '<p id class>'
- '<a aria-label hreflang data-entity-substitution data-entity-type data-entity-uuid title id class>'
- '<p aria-* class dir id lang title>'
- '<a hreflang data-entity-substitution data-entity-type data-entity-uuid aria-* class dir id lang title>'
ckeditor5_style:
styles:
-
Expand Down
2 changes: 1 addition & 1 deletion config/sync/filter.format.stanford_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ filters:
status: true
weight: -50
settings:
allowed_html: '<br> <p class id> <h2 id class> <h3 id class> <h4 id class> <h5 id class> <a class aria-label hreflang data-entity-substitution data-entity-type data-entity-uuid title name href> <b> <cite> <dt> <pre class> <code data-* class> <dl class> <dd class> <div id class> <i class> <aside class> <img src alt title class> <abbr id title> <span id class> <blockquote cite> <ul id type class> <ol id type class start> <li id class> <table id class> <tbody class> <th scope id class rowspan colspan> <td id class rowspan colspan> <tr id> <drupal-media data-* title alt> <strong> <em> <s> <sub> <sup> <hr> <thead> <tfoot> <caption>'
allowed_html: '<br aria-* class dir id lang title> <p aria-* class dir id lang title> <h2 aria-* class dir id lang title> <h3 aria-* class dir id lang title> <h4 aria-* class dir id lang title> <h5 aria-* class dir id lang title> <a hreflang data-entity-substitution data-entity-type data-entity-uuid name href aria-* class dir id lang title> <b aria-* class dir id lang title> <cite aria-* class dir id lang title> <dt aria-* class dir id lang title> <pre aria-* class dir id lang title> <code data-* aria-* class dir id lang title> <dl aria-* class dir id lang title> <dd aria-* class dir id lang title> <div role aria-* class dir id lang title> <i role aria-* class dir id lang title> <aside aria-* class dir id lang title> <img src alt aria-* class dir id lang title> <abbr aria-* class dir id lang title> <span aria-* class dir id lang title> <blockquote cite aria-* class dir id lang title> <ul type aria-* class dir id lang title> <ol type start aria-* class dir id lang title> <li aria-* class dir id lang title> <table aria-* class dir id lang title> <tbody aria-* class dir id lang title> <th scope rowspan colspan aria-* class dir id lang title> <td rowspan colspan aria-* class dir id lang title> <tr aria-* class dir id lang title> <drupal-media data-* title alt aria-* class dir id lang title> <strong aria-* class dir id lang title> <em aria-* class dir id lang title> <s aria-* class dir id lang title> <sub aria-* class dir id lang title> <sup aria-* class dir id lang title> <hr aria-* class dir id lang title> <thead aria-* class dir id lang title> <tfoot aria-* class dir id lang title> <caption aria-* class dir id lang title>'
filter_html_help: true
filter_html_nofollow: false
filter_html_escape:
Expand Down
2 changes: 1 addition & 1 deletion config/sync/filter.format.stanford_minimal_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ filters:
status: true
weight: 0
settings:
allowed_html: '<br> <p id class> <a class aria-label hreflang data-entity-substitution data-entity-type data-entity-uuid title id href> <h2 id class> <h3 id class> <h4 id class> <h5 id class> <h6 id class> <cite> <dd> <div id class> <blockquote cite> <strong> <em> <code> <ul> <ol reversed start> <li>'
allowed_html: '<br> <p aria-* class dir id lang title> <a hreflang data-entity-substitution data-entity-type data-entity-uuid href aria-* class dir id lang title> <h2 aria-* class dir id lang title> <h3 aria-* class dir id lang title> <h4 aria-* class dir id lang title> <h5 aria-* class dir id lang title> <h6 aria-* class dir id lang title> <cite aria-* class dir id lang title> <dd aria-* class dir id lang title> <div role aria-* class dir id lang title> <blockquote cite aria-* class dir id lang title> <strong aria-* class dir id lang title> <em aria-* class dir id lang title> <code aria-* class dir id lang title> <ul aria-* class dir id lang title> <ol reversed start aria-* class dir id lang title> <li aria-* class dir id lang title>'
filter_html_help: true
filter_html_nofollow: false
filter_html_escape:
Expand Down

0 comments on commit 70cdde2

Please sign in to comment.