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

Extend the Empty-Link-Checker for links starting with "https" #1629

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions src/plugins/extra/emptylink/css/emptylink.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
.aloha-editable.aloha-emptylink-plugin a[href='#']:not([name]):not([data-gentics-aloha-object-id]),
.aloha-editable.aloha-emptylink-plugin a[href='']:not([name]):not([data-gentics-aloha-object-id]),
.aloha-editable.aloha-emptylink-plugin a[href='http://']:not([name]):not([data-gentics-aloha-object-id]),
.aloha-editable.aloha-emptylink-plugin a[href='https://']:not([name]):not([data-gentics-aloha-object-id]),
/* mark all anchor elements with empty name attribute and the href attribute not set */
.aloha-editable.aloha-emptylink-plugin a[name='']:not([href]),
/* mark all anchor elements with empty href (including '#') and empty name attribute */
.aloha-editable.aloha-emptylink-plugin a[href='#'][name=''],
.aloha-editable.aloha-emptylink-plugin a[href='http://'][name=''],
.aloha-editable.aloha-emptylink-plugin a[href='https://'][name=''],
.aloha-editable.aloha-emptylink-plugin a[href=''][name=''],
/* mark all anchor elements that are marked to link to offline data-gentics-aloha-objects */
.aloha-editable.aloha-emptylink-plugin a[data-gentics-aloha-object-online='false'] {
Expand Down