Skip to content

Commit

Permalink
Merge pull request #6 from ubc-web-services/anchor-invisible
Browse files Browse the repository at this point in the history
Anchor invisible
  • Loading branch information
ubcjohn authored Nov 28, 2023
2 parents 81d4dd5 + ef8376e commit 467c466
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion css/drupal.ckeditor.iframe.css
Original file line number Diff line number Diff line change
Expand Up @@ -418,4 +418,20 @@ summary {
.list-bordered {
margin-left: 0;
list-style-type: none !important;
}
}

.ck-content .anchor-invisible {
display: inline-block !important;
font-size: .875em;
position: relative !important;
width: auto !important;
height: auto !important;
}

.ck-content .anchor-invisible::after {
content: " (only visible in edit mode)"
}

form[class~="node-form"] a[class~="anchor-invisible"] {
visibility: visible;
}
2 changes: 1 addition & 1 deletion css/drupal.ckeditor.iframe.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 467c466

Please sign in to comment.