-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix shortcode button with easy mde editor #15741
Conversation
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.
LGTM.
Suggestion: maybe it is better to put these 2 files in assets and add a task that would copy them over to the wwwroot file. I am not sure if it is a good idea to add the files directly to the wwwroot.
I will take a look but then we need to fix this in other places where we did the same too. I need to check if the wwwroot folder is added to the assembly or not else it's a none-issue. |
Yea it's not an issue which is why I approved it. But typically we leave the wwwroot folder to get populated by gulp. I think our gulpfile has a task to copy files like fonts and others from assets to wwwroot. This way we don't accidentally delete these file and expect them to be regenerated. |
Yeah, we copy when we have a /Assets/vendor folder that needs to be used for building assets in that folder. Or we want to archive a specific version of that vendor lib. Else, we also copy often directly from /node_modules/ Don't worry I had that same thought about having it in the Assets folder but after thinking I decided to not do it. |
Fixes #15738