Skip to content

Commit

Permalink
feat(shs-5941): add anchor link to text formats
Browse files Browse the repository at this point in the history
  • Loading branch information
cienvaras committed Nov 25, 2024
1 parent 44845a1 commit 296757e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 18 deletions.
13 changes: 5 additions & 8 deletions config/default/editor.editor.basic_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ settings:
- alignment
- '|'
- link
- anchor
- '|'
- bulletedList
- numberedList
Expand Down Expand Up @@ -66,19 +67,15 @@ settings:
- '<div role id aria-* class>'
- '<span class>'
- '<blockquote cite>'
- '<ul type class id>'
- '<ol type class id>'
- '<ul type id>'
- '<ol type id>'
- '<h2 id class>'
- '<h3 id class>'
- '<h4 id class>'
- '<h5 id class>'
- '<h6 id class>'
- '<caption class>'
- '<tbody class>'
- '<th scope class>'
- '<td class>'
- '<table class>'
- '<a name target hreflang>'
- '<th scope>'
- '<a name hreflang>'
- '<drupal-media data-* title>'
- '<p id class>'
ckeditor5_style:
Expand Down
13 changes: 5 additions & 8 deletions config/default/editor.editor.basic_html_without_media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ settings:
- alignment
- '|'
- link
- anchor
- '|'
- bulletedList
- numberedList
Expand Down Expand Up @@ -66,19 +67,15 @@ settings:
- '<div role id aria-* class>'
- '<span class>'
- '<blockquote cite>'
- '<ul type class id>'
- '<ol type class id>'
- '<ul type id>'
- '<ol type id>'
- '<h2 id class>'
- '<h3 id class>'
- '<h4 id class>'
- '<h5 id class>'
- '<h6 id class>'
- '<caption class>'
- '<tbody class>'
- '<th scope class>'
- '<td class>'
- '<table class>'
- '<a name target hreflang>'
- '<th scope>'
- '<a name hreflang>'
- '<p id class>'
ckeditor5_style:
styles:
Expand Down
2 changes: 1 addition & 1 deletion config/default/filter.format.basic_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,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> <h6 id class> <a class="hs-button hs-button--big hs-secondary-button hs-more-link hs-external-link hs-file-link hs-pdf-link hs-private-link" name target hreflang href title id data-entity-type data-entity-uuid data-entity-substitution> <span class> <table class> <b> <cite> <dl> <dt> <dd> <i class> <img src alt data-entity-type data-entity-uuid data-align data-caption width height class> <drupal-entity data-entity-type data-entity-uuid data-entity-embed-display data-entity-embed-display-settings data-align data-caption data-embed-button alt title class> <div role id aria-* class> <blockquote cite> <ul type class id> <ol type class id start> <caption class> <tbody class> <th scope class rowspan colspan> <td class rowspan colspan> <drupal-media data-* title alt> <strong> <em> <li> <hr> <tr> <thead> <tfoot>'
allowed_html: '<a id target rel class="ck-anchor hs-button hs-button--big hs-secondary-button hs-more-link hs-external-link hs-file-link hs-pdf-link hs-private-link" name hreflang href title data-entity-type data-entity-uuid data-entity-substitution> <br> <p class id> <h2 id class> <h3 id class> <h4 id class> <h5 id class> <h6 id class> <span class> <table class="hs-table--borderless"> <b> <cite> <dl> <dt> <dd> <i class> <img src alt data-entity-type data-entity-uuid data-align data-caption width height class> <drupal-entity data-entity-type data-entity-uuid data-entity-embed-display data-entity-embed-display-settings data-align data-caption data-embed-button alt title class> <div role id aria-* class> <blockquote cite> <ul type id> <ol type id start> <th scope rowspan colspan> <drupal-media data-* title alt> <strong> <em> <li> <hr> <tr> <td rowspan colspan> <thead> <tbody> <tfoot> <caption>'
filter_html_help: true
filter_html_nofollow: false
filter_html_escape:
Expand Down
2 changes: 1 addition & 1 deletion config/default/filter.format.basic_html_without_media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ filters:
status: true
weight: -10
settings:
allowed_html: '<br> <p class id> <h2 id class> <h3 id class> <h4 id class> <h5 id class> <h6 id class> <a class="hs-button hs-button--big hs-secondary-button hs-more-link hs-external-link hs-file-link hs-pdf-link hs-private-link" name target hreflang href title id> <span class> <table class> <b> <cite> <dl> <dt> <dd> <i class> <img src alt data-entity-type data-entity-uuid data-align data-caption width height class> <div role id aria-* class> <blockquote cite> <ul type class id> <ol type class id start> <caption class> <tbody class> <th scope class rowspan colspan> <td class rowspan colspan> <strong> <em> <code> <li> <hr> <tr> <thead> <tfoot>'
allowed_html: '<a id target rel class="ck-anchor hs-button hs-button--big hs-secondary-button hs-more-link hs-external-link hs-file-link hs-pdf-link hs-private-link" name hreflang href title> <br> <p class id> <h2 id class> <h3 id class> <h4 id class> <h5 id class> <h6 id class> <span class> <table class="hs-table--borderless"> <b> <cite> <dl> <dt> <dd> <i class> <img src alt data-entity-type data-entity-uuid data-align data-caption width height class> <div role id aria-* class> <blockquote cite> <ul type id> <ol type id start> <th scope rowspan colspan> <strong> <em> <code> <li> <hr> <tr> <td rowspan colspan> <thead> <tbody> <tfoot> <caption>'
filter_html_help: true
filter_html_nofollow: false
filter_htmlcorrector:
Expand Down

0 comments on commit 296757e

Please sign in to comment.