Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improved editor workflow #409

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions web/themes/custom/atrium/atrium.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ libraries-override:

ckeditor_stylesheets:
- assets/css/atrium.style.css
- ckeditor/ckeditor_styles.css
- ../../../libraries/courtyard-artifact/1.x/public/css/styles-srl.min.css

component-libraries:
Expand Down
2 changes: 2 additions & 0 deletions web/themes/custom/atrium/ckeditor/ckeditor_styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.jcc-card.jcc-card--icon .usa-card__body{padding: 5px; border: 1px dashed #666666;}
.jcc-card.jcc-card--icon .usa-card__media{padding: 5px; border: 1px dashed #666666;}
6 changes: 1 addition & 5 deletions web/themes/custom/atrium/ckeditor/ckeditor_templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,7 @@ CKEDITOR.addTemplates('default', {
<h3>Title</h3>
<p>text</p>
</div>
<div class="usa-card__media">
<div class="usa-card__img jcc-image--media-icon">
<img src="/themes/custom/atrium/ckeditor/placeholder.png" alt="placeholder" />
</div>
</div>
<div class="usa-card__media"></div>
</div>
</div>`
},
Expand Down