Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions config/default/editor.editor.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ settings:
toolbar:
items:
- heading
- style
- bold
- italic
- underline
Expand Down Expand Up @@ -53,6 +54,11 @@ settings:
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags: { }
ckeditor5_style:
styles:
-
label: Button
element: '<a class="button button--primary">'
image_upload:
status: true
scheme: public
Expand Down
2 changes: 1 addition & 1 deletion config/default/filter.format.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ filters:
status: false
weight: -10
settings:
allowed_html: ''
allowed_html: '<a class="button button--primary">'
filter_html_help: true
filter_html_nofollow: false
2 changes: 1 addition & 1 deletion docroot/themes/custom/drupal4gov/css/base/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ select[multiple] option {
cursor: pointer;
font-size: 18px;
font-weight: 600;
text-decoration: none;
}
.button:hover {
background-color: #e5e5e5;
Expand All @@ -305,7 +306,6 @@ select[multiple] option {
border: 3px solid var(--blue-bright);
border-radius: 26px;
color: white;
text-decoration: none;
padding-block: 2rem;
}
.button.button--outline:hover {
Expand Down
4 changes: 2 additions & 2 deletions docroot/themes/custom/drupal4gov/sass/base/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ select {
cursor: pointer;
font-size: 18px;
font-weight: 600;
text-decoration: none;

&:hover {
background-color: #e5e5e5;
Expand Down Expand Up @@ -247,7 +248,6 @@ select {
border: 3px solid var(--blue-bright);
border-radius: 26px;
color: white;
text-decoration: none;
padding-block: 2rem;

&:hover {
Expand Down Expand Up @@ -297,7 +297,7 @@ select {
}
}

.form-item-references {
.form-item-references {
margin-top: 20px;

label {
Expand Down