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

Closed
pomegranited opened this issue Oct 10, 2024 · 5 comments · Fixed by #1421
Closed

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

pomegranited opened this issue Oct 10, 2024 · 5 comments · Fixed by #1421
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.

@bradenmacdonald
Copy link
Contributor

@jmakowski1123 Please confirm if this bug is fixed on the sandbox.

@jmakowski1123
Copy link

jmakowski1123 commented Oct 24, 2024

Related bug? #1377

@bradenmacdonald
Copy link
Contributor

@jmakowski1123 Someone had turned off the MFE editors on the sandbox. I just turned them back on, and everything seems to be working. Please let me know if you spot any more issues.

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: Ready for AC testing
3 participants