Skip to content

Commit

Permalink
[FOIA22-168] Content changes to support new CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclay committed Jul 17, 2024
1 parent 4051dd9 commit e919a0d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
6 changes: 5 additions & 1 deletion config/default/editor.editor.rich_text_wizard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ settings:
reversed: true
startIndex: true
ckeditor5_sourceEditing:
allowed_tags: { }
allowed_tags:
- '<p class>'
- '<span class>'
- '<h1>'
- '<div class>'
ckeditor5_style:
styles:
-
Expand Down
2 changes: 1 addition & 1 deletion config/default/filter.format.rich_text_wizard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ filters:
status: true
weight: -50
settings:
allowed_html: '<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> <br> <h1> <pre> <a href hreflang class> <drupal-entity data-* data-entity-type data-entity-uuid data-entity-embed-display data-entity-embed-display-settings data-align data-caption data-embed-button data-langcode alt title>'
allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h1> <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 class> <br> <pre> <a href hreflang class> <drupal-entity data-* data-entity-type data-entity-uuid data-entity-embed-display data-entity-embed-display-settings data-align data-caption data-embed-button data-langcode alt title> <span class> <div class> <caption>'
filter_html_help: true
filter_html_nofollow: false
filter_autop:
Expand Down
8 changes: 4 additions & 4 deletions config/default/foia_wizard.settings.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
intro_slide:
value: "<h1>Hello,</h1>\r\n\r\n<p>The government hosts a vast amount of information, with records spread across many different agencies, and even across different offices within agencies.</p>\r\n\r\n<p>To help you figure out which federal agency might have the information you seek, we've developed this tool. If you're looking for non-federal records, such as from your local police department, we suggest you contact the appropriate state or local authorities.</p>\r\n\r\n<p>This new tool represents the initial phase of our multiphase project, with enhancements planned for future phases to best serve you.</p>\r\n\r\n<p>We recommend giving yourself at least 5 minutes to explore this tool.</p>\r\n"
value: '<p class="big">Hello,</p><p>The government hosts a vast amount of information, with records spread across many different agencies, and even across different offices within agencies.</p><p>To help you figure out which federal agency might have the information you seek, we''ve developed this tool. If you''re looking for non-federal records, such as from your local police department, we suggest you contact the appropriate state or local authorities.</p><p>This new tool represents the initial phase of our multiphase project, with enhancements planned for future phases to best serve you.</p><p>We recommend giving yourself at least 5 minutes to explore this tool.</p>'
format: rich_text_wizard
query_slide_1:
value: "<h1>Let's dive in...</h1><p>What information are you looking for?</p>"
value: '<h2>What information are you looking for?</h2>'
format: rich_text_wizard
query_slide_2:
value: "<p>Please enter one to two sentences describing what you're searching for, including relevant keywords.</p><p>Include as much specific information as possible in the search box, such as the date, title or name, author, recipient, subject matter of the record, case number, file designation, or reference number. Please only include information relevant to your search. <strong>Do not include your name, contact information, or other information that could be used to identify you.</strong></p><p>If you don't receive the desired results, consider adding more context to your query to provide more accurate results.</p>"
value: '<div class="description"><p>Please enter one to two sentences describing what you''re searching for, including relevant keywords.</p><p>Include as much specific information as possible in the search box, such as the date, title or name, author, recipient, subject matter of the record, case number, file designation, or reference number. Please only include information relevant to your search. <strong>Do not include your name, contact information, or other information that could be used to identify you.</strong></p><p>If you don''t receive the desired results, consider adding more context to your query to provide more accurate results.</p></div>'
format: rich_text_wizard
messages:
m1:
Expand All @@ -15,7 +15,7 @@ messages:
value: '<p>Generally, when requesting information about another person you will receive greater access by submitting authorization from that individual permitting the disclosure of the records to you, or by submitting proof that the individual is deceased.</p>'
format: rich_text_wizard
m3:
value: '<p>A-Files may contain records contributed by multiple federal agencies such as U.S. Immigration and Customs Enforcement, U.S. Customs and Border Protection, and U.S. Citizen and Immigration Services (USCIS). However, USCIS is the custodian of A-Files.</p><p><a href="https://www.foia.gov/agency-search.html?id=da7c02bc-3ae8-4a09-ad94-48fdbb2bcc6f&amp;type=component">To request all records contained in an A-file, submit a FOIA request to U.S. Citizen and Immigration Services (USCIS).</a></p>'
value: '<p>A-Files may contain records contributed by multiple federal agencies such as U.S. Immigration and Customs Enforcement, U.S. Customs and Border Protection, and U.S. Citizen and Immigration Services (USCIS). However, USCIS is the custodian of A-Files.</p><p><a href="https://www.foia.gov/agency-search.html?id=da7c02bc-3ae8-4a09-ad94-48fdbb2bcc6f&amp;type=component">To request all records contained in an A-file, submit a FOIA request to U.S. Citizen and Immigration Services (USCIS).</a></p>'
format: rich_text_wizard
m4:
value: '<p><a href="https://www.foia.gov/agency-search.html?id=da7c02bc-3ae8-4a09-ad94-48fdbb2bcc6f&amp;type=component">To request an A-Number, submit a FOIA request to U.S. Citizen and Immigration Services (USCIS).</a></p>'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
intro_slide:
value: "<h1>Hello,</h1>\r\n\r\n<p>The government hosts a vast amount of information, with records spread across many different agencies, and even across different offices within agencies.</p>\r\n\r\n<p>To help you figure out which federal agency might have the information you seek, we've developed this tool. If you're looking for non-federal records, such as from your local police department, we suggest you contact the appropriate state or local authorities.</p>\r\n\r\n<p>This new tool represents the initial phase of our multiphase project, with enhancements planned for future phases to best serve you.</p>\r\n\r\n<p>We recommend giving yourself at least 5 minutes to explore this tool.</p>\r\n"
value: '<p class="big">Hello,</p><p>The government hosts a vast amount of information, with records spread across many different agencies, and even across different offices within agencies.</p><p>To help you figure out which federal agency might have the information you seek, we''ve developed this tool. If you''re looking for non-federal records, such as from your local police department, we suggest you contact the appropriate state or local authorities.</p><p>This new tool represents the initial phase of our multiphase project, with enhancements planned for future phases to best serve you.</p><p>We recommend giving yourself at least 5 minutes to explore this tool.</p>'
format: rich_text_wizard
query_slide_1:
value: "<h1>Let's dive in...</h1><p>What information are you looking for?</p>"
value: '<h2>What information are you looking for?</h2>'
format: rich_text_wizard
query_slide_2:
value: "<p>Please enter one to two sentences describing what you're searching for, including relevant keywords.</p><p>Include as much specific information as possible in the search box, such as the date, title or name, author, recipient, subject matter of the record, case number, file designation, or reference number. Please only include information relevant to your search. <strong>Do not include your name, contact information, or other information that could be used to identify you.</strong></p><p>If you don't receive the desired results, consider adding more context to your query to provide more accurate results.</p>"
value: '<div class="description"><p>Please enter one to two sentences describing what you''re searching for, including relevant keywords.</p><p>Include as much specific information as possible in the search box, such as the date, title or name, author, recipient, subject matter of the record, case number, file designation, or reference number. Please only include information relevant to your search. <strong>Do not include your name, contact information, or other information that could be used to identify you.</strong></p><p>If you don''t receive the desired results, consider adding more context to your query to provide more accurate results.</p></div>'
format: rich_text_wizard
messages:
m1:
Expand All @@ -15,7 +15,7 @@ messages:
value: '<p>Generally, when requesting information about another person you will receive greater access by submitting authorization from that individual permitting the disclosure of the records to you, or by submitting proof that the individual is deceased.</p>'
format: rich_text_wizard
m3:
value: '<p>A-Files may contain records contributed by multiple federal agencies such as U.S. Immigration and Customs Enforcement, U.S. Customs and Border Protection, and U.S. Citizen and Immigration Services (USCIS). However, USCIS is the custodian of A-Files.</p><p><a href="https://www.foia.gov/agency-search.html?id=da7c02bc-3ae8-4a09-ad94-48fdbb2bcc6f&amp;type=component">To request all records contained in an A-file, submit a FOIA request to U.S. Citizen and Immigration Services (USCIS).</a></p>'
value: '<p>A-Files may contain records contributed by multiple federal agencies such as U.S. Immigration and Customs Enforcement, U.S. Customs and Border Protection, and U.S. Citizen and Immigration Services (USCIS). However, USCIS is the custodian of A-Files.</p><p><a href="https://www.foia.gov/agency-search.html?id=da7c02bc-3ae8-4a09-ad94-48fdbb2bcc6f&amp;type=component">To request all records contained in an A-file, submit a FOIA request to U.S. Citizen and Immigration Services (USCIS).</a></p>'
format: rich_text_wizard
m4:
value: '<p><a href="https://www.foia.gov/agency-search.html?id=da7c02bc-3ae8-4a09-ad94-48fdbb2bcc6f&amp;type=component">To request an A-Number, submit a FOIA request to U.S. Citizen and Immigration Services (USCIS).</a></p>'
Expand Down

0 comments on commit e919a0d

Please sign in to comment.