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

Don't revert to Advanced Editor for pasted problems #1377

Open
pomegranited opened this issue Oct 10, 2024 · 1 comment
Open

Don't revert to Advanced Editor for pasted problems #1377

pomegranited opened this issue Oct 10, 2024 · 1 comment
Labels
bug Report of or fix for something that isn't working as intended

Comments

@pomegranited
Copy link
Contributor

When editing a Problem component that was pasted into a Content Library, the Advanced Editor is being shown. Instead, show the problem-type-specific editor.

Issue was reproduced this on tagging-preview (see e.g. "Multiple Choice" problem in lib:OpenCraft:TL).

@pomegranited pomegranited added the bug Report of or fix for something that isn't working as intended label Oct 10, 2024
@bradenmacdonald
Copy link
Contributor

@pomegranited The problem is the markdown and url_name fields. When I removed them from that example block, it started working.

We need to fix the paste code so it strips out the url_name attribute on paste. As for markdown, I'm not sure why it's there but I suspect if it was there, the MFE editor wouldn't have been working in the course that you copied it from either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of or fix for something that isn't working as intended
Projects
Status: No status
Development

No branches or pull requests

2 participants