-
Notifications
You must be signed in to change notification settings - Fork 25
Update Visual Editor Documentation #292
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -28,6 +28,11 @@ The library ships with a number of built in CSS Selectors already applied to its | |||||
.directus-visual-editing-rect-hover { | ||||||
/* class that applies when the original element is hovered */ | ||||||
} | ||||||
|
||||||
.directus-visual-editing-rect-parent-hover { | ||||||
/* class that applies to the parent element when the original element is hovered */ | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be "a child" rather than "a children" |
||||||
} | ||||||
|
||||||
.directus-visual-editing-rect-inner { | ||||||
/* the element with the rectangle styles */ | ||||||
} | ||||||
|
@@ -54,6 +59,7 @@ The library also ships with a number of predefined CSS variables. These can be o | |||||
--directus-visual-editing--edit-btn--bg-color: #6644ff; | ||||||
--directus-visual-editing--edit-btn--icon-bg-image: url('data:image/svg+xml,<svg>…</svg>'); | ||||||
--directus-visual-editing--edit-btn--icon-bg-size: 66.6%; | ||||||
--directus-visual-editing--rect-hover--opacity: 0.333; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might make more sense to insert this before There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll let Carmen make that change |
||||||
} | ||||||
``` | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we add more info about unpkg.com? We might add a link to https://unpkg.com if users need more information (e.g. about how to use specific versions).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would the info be?