Examples with images that will not load in Codepen #1534
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Unfortunately, in codepen we cannot use the
<use xlink:href....
because of cross origin policies, so the button example will not be able to load the mute/sound icon. I replaced the<use...
pattern with an inline SVG. Is this the approach we want? Is there a cleaner, better looking way to inline or reference these SVGs? The previous method was cool and I'm sad to take it out.Here is the raw githack button example
The SVGs in the menubar editor aren't rendering for a different reason -- it's because the relative paths from the CSS file do not work in codepen because all of the resources are loaded without a file structure. I'm leaving this PR in Draft in case anyone wants to chime in with a way to solve that problem other then adding A LOT of inline SVGs in the menubar editor.
Here is the raw githack for the menubar editor