-
Notifications
You must be signed in to change notification settings - Fork 6
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
feature/image upload #3963
Merged
Chrysalis-B
merged 28 commits into
feature/editable-grading-instructions
from
feature/image-upload
Oct 2, 2024
Merged
feature/image upload #3963
Chrysalis-B
merged 28 commits into
feature/editable-grading-instructions
from
feature/image-upload
Oct 2, 2024
Conversation
This file contains 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
Contributor
Chrysalis-B
commented
Sep 16, 2024
- feature(wip): add file upload feature to editor
- feature: render e:image tags from xml in prosemirror editor as img and revert them back to e:image when passed back
Chrysalis-B
commented
Sep 20, 2024
packages/core/src/components/grading-instructions/editor/schemas/image-schema.ts
Outdated
Show resolved
Hide resolved
Chrysalis-B
commented
Sep 20, 2024
packages/core/src/components/grading-instructions/editor/schemas/image-schema.ts
Outdated
Show resolved
Hide resolved
Chrysalis-B
commented
Sep 20, 2024
packages/core/src/components/grading-instructions/editor/ImageUploadButton.tsx
Outdated
Show resolved
Hide resolved
Chrysalis-B
force-pushed
the
feature/image-upload
branch
7 times, most recently
from
September 24, 2024 13:53
f1c446e
to
17f58ae
Compare
Chrysalis-B
commented
Sep 25, 2024
packages/core/src/components/grading-instructions/editor/ImageUploadButton.tsx
Outdated
Show resolved
Hide resolved
Chrysalis-B
commented
Sep 25, 2024
packages/core/src/components/grading-instructions/editor/ImageUploadButton.tsx
Outdated
Show resolved
Hide resolved
Chrysalis-B
commented
Sep 25, 2024
packages/core/src/components/grading-instructions/editor/ImageUploadButton.tsx
Outdated
Show resolved
Hide resolved
Chrysalis-B
commented
Sep 25, 2024
packages/core/src/components/grading-instructions/editor/schemas/image-schema.ts
Show resolved
Hide resolved
Chrysalis-B
commented
Sep 25, 2024
Chrysalis-B
commented
Sep 25, 2024
packages/core/src/components/grading-instructions/EditableGradingInstruction.tsx
Show resolved
Hide resolved
Chrysalis-B
commented
Sep 25, 2024
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.
tarkista että onContentChange triggeröityy heti
kyllä triggeröityy. |
…d revert them back to e:image when passed back
…osemirror parsing function
… custom serializer
…isified fireEvents (use findByText in act instead which returns a promise)
…te change is needed
Chrysalis-B
force-pushed
the
feature/image-upload
branch
from
September 27, 2024 11:19
9c7bd77
to
e1c505a
Compare
Chrysalis-B
force-pushed
the
feature/image-upload
branch
from
September 27, 2024 12:17
e1c505a
to
4c76d8a
Compare
Chrysalis-B
force-pushed
the
feature/image-upload
branch
from
September 30, 2024 11:31
1054f1d
to
480fc3e
Compare
Chrysalis-B
commented
Oct 2, 2024
<button onClick={handleButtonClick}>Lisää kuva</button> | ||
<input | ||
type="file" | ||
accept="image/*" |
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.
vain jpeg, png ja tiff
Chrysalis-B
merged commit Oct 2, 2024
0ed943f
into
feature/editable-grading-instructions
3 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.