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

Error loading markdown editor css and js files #138

Closed
bryanrcarlson opened this issue Oct 5, 2023 · 1 comment
Closed

Error loading markdown editor css and js files #138

bryanrcarlson opened this issue Oct 5, 2023 · 1 comment
Labels
bug Something isn't working editor Relates to the scenario editor

Comments

@bryanrcarlson
Copy link
Contributor

When deploying to Github pages (or anything with a subdir in the URL), the js and css files associated with the PSC.Blazor.Components.MarkdownEditor component fails to load.

The reason is there is a slash in front of the href link:

<link href="/_content/PSC.Blazor.Components.MarkdownEditor/css/easymde.min.css" rel="stylesheet" />
...
<!-- Markdown editor stuff -->
<script src="/_content/PSC.Blazor.Components.MarkdownEditor/js/easymde.min.js"></script>
<script src="/_content/PSC.Blazor.Components.MarkdownEditor/js/markdownEditor.js"></script>
@bryanrcarlson bryanrcarlson added bug Something isn't working editor Relates to the scenario editor labels Oct 5, 2023
@bryanrcarlson
Copy link
Contributor Author

Fixed in #143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor Relates to the scenario editor
Projects
None yet
Development

No branches or pull requests

1 participant