Skip to content

Commit

Permalink
Merge pull request #4317 from serlo/fix/plugin-input-exercise-icon
Browse files Browse the repository at this point in the history
fix(input-exercise): use correct icon
  • Loading branch information
hejtful authored Nov 27, 2024
2 parents 2f2e05f + 3392ed2 commit 798c08e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/editor/src/plugins/rows/utils/plugin-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import IconH5p from '@editor/editor-ui/assets/plugin-icons/icon-h5p.svg?raw'
import IconHighlight from '@editor/editor-ui/assets/plugin-icons/icon-highlight.svg?raw'
import IconImage from '@editor/editor-ui/assets/plugin-icons/icon-image.svg?raw'
import IconInjection from '@editor/editor-ui/assets/plugin-icons/icon-injection.svg?raw'
import IconInputExercise from '@editor/editor-ui/assets/plugin-icons/icon-input-exercise.svg?raw'
import IconMcExercise from '@editor/editor-ui/assets/plugin-icons/icon-mc-exercise.svg?raw'
import IconMultimedia from '@editor/editor-ui/assets/plugin-icons/icon-multimedia.svg?raw'
import IconScExercise from '@editor/editor-ui/assets/plugin-icons/icon-sc-exercise.svg?raw'
Expand Down Expand Up @@ -221,7 +222,7 @@ const iconLookup: Record<PluginMenuType, string> = {
[pluginMenuType.DropzoneImage]: IconDropzones,
[pluginMenuType.SingleChoiceExercise]: IconScExercise,
[pluginMenuType.MultipleChoiceExercise]: IconMcExercise,
[pluginMenuType.InputExercise]: IconTextArea,
[pluginMenuType.InputExercise]: IconInputExercise,
[pluginMenuType.TextAreaExercise]: IconTextArea,
[pluginMenuType.BlanksExercise]: IconBlanksTyping,
[pluginMenuType.BlanksExerciseDragAndDrop]: IconBlanksDragAndDrop,
Expand Down

0 comments on commit 798c08e

Please sign in to comment.