Repository navigation
feat: added markdown editor for editing problems in markdown format #1805
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
Merged
bradenmacdonald
merged 21 commits into
openedx:master
from
mitodl:anas/add-markdown-editor
Apr 23, 2025
Merged
Changes from 12 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e4d032c
feat: added markdown editor for editing problems in markdown format
Anas12091101 25d6aa6
fix: test and issues
Anas12091101 23cd689
fix: issues
Anas12091101 b4121f6
fix: issues
Anas12091101 21382e5
fix: some issues
Anas12091101 b7a2df6
fix: waffle flag name
Anas12091101 f5512cd
chore: remove unused snapshot
Anas12091101 a6b3daa
fix: some issues
Anas12091101 eb0e9cc
fix: some issues
Anas12091101 afaea87
fix: some issues
Anas12091101 e2f17b0
test: increased coverage
Anas12091101 9c137d1
test: increased coverage
Anas12091101 a644ff5
fix: multiple problems rendering issue
Anas12091101 16b10da
fix: issue
Anas12091101 9ca389c
fix: issues
Anas12091101 99b5315
fix: issues
Anas12091101 73a5bf5
fix: issues
Anas12091101 1a390f1
fix: issues
Anas12091101 6ee6590
fix: issues
Anas12091101 43c3af8
fix: issues
Anas12091101 4e8810f
fix: problem loading in advanced editor in library
Anas12091101 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,69 +1,3 @@ | ||
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
|
||
| exports[`Editor Container snapshots rendering correctly with expected Input 1`] = ` | ||
| <div | ||
| className="editor-page" | ||
| > | ||
| <AlertMessage | ||
| actions={ | ||
| [ | ||
| <ForwardRef | ||
| as={ | ||
| { | ||
| "$$typeof": Symbol(react.forward_ref), | ||
| "defaultProps": { | ||
| "as": "a", | ||
| "className": undefined, | ||
| "destination": undefined, | ||
| "externalLinkAlternativeText": undefined, | ||
| "externalLinkTitle": undefined, | ||
| "isInline": false, | ||
| "onClick": undefined, | ||
| "showLaunchIcon": true, | ||
| "target": "_self", | ||
| "variant": "default", | ||
| }, | ||
| "propTypes": { | ||
| "as": [Function], | ||
| "children": [Function], | ||
| "className": [Function], | ||
| "destination": [Function], | ||
| "externalLinkAlternativeText": [Function], | ||
| "externalLinkTitle": [Function], | ||
| "isInline": [Function], | ||
| "onClick": [Function], | ||
| "showLaunchIcon": [Function], | ||
| "target": [Function], | ||
| "variant": [Function], | ||
| }, | ||
| "render": [Function], | ||
| } | ||
| } | ||
| destination="/library/lib:Axim:TEST/components?usageKey=lb:Axim:TEST:html:571fe018-f3ce-45c9-8f53-5dafcb422fdd" | ||
| disabled={false} | ||
| rel="noopener noreferrer" | ||
| showLaunchIcon={true} | ||
| target="_blank" | ||
| > | ||
| View in Library | ||
| </ForwardRef>, | ||
| ] | ||
| } | ||
| className="m-3" | ||
| description="Edits made here will only be reflected in this course. These edits may be overridden later if updates are accepted." | ||
| icon={[Function]} | ||
| show="lb:Axim:TEST:html:571fe018-f3ce-45c9-8f53-5dafcb422fdd" | ||
| title="Editing Content from a Library" | ||
| variant="warning" | ||
| /> | ||
| <EditorPage | ||
| blockId="company-id1" | ||
| blockType="html" | ||
| courseId="cOuRsEId" | ||
| lmsEndpointUrl="http://localhost:18000" | ||
| onClose={null} | ||
| returnFunction={null} | ||
| studioEndpointUrl="http://localhost:18010" | ||
| /> | ||
| </div> | ||
| `; | ||
| exports[`Editor Container snapshots rendering correctly with expected Input 1`] = `undefined`; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.