Skip to content

Commit

Permalink
Merge pull request #82 from ImperialCollegeLondon/feature/remove_html…
Browse files Browse the repository at this point in the history
…_from_description

Use Textarea instead of rich text editor
  • Loading branch information
cc-a authored Nov 19, 2024
2 parents 5df42b8 + 46fb2e0 commit eabadac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/invenio_app_rdm/overridableRegistry/mapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import { OptionalRoleCreatibutorsField } from "../../ic_data_repo/OptionalRoleCreatibutors";
import { parametrize } from "react-overridable";
import { TextAreaField } from "react-invenio-forms";

const CreatorsField = parametrize(OptionalRoleCreatibutorsField, {
helpText: "The main individuals or institutions involved in creating the data set.",
Expand All @@ -20,4 +21,5 @@ const ContributorsField = parametrize(OptionalRoleCreatibutorsField, {
export const overriddenComponents = {
"InvenioAppRdm.Deposit.ContributorsField.container": ContributorsField,
"InvenioAppRdm.Deposit.CreatorsField.container": CreatorsField,
"InvenioAppRdm.Deposit.DescriptionsField.container": TextAreaField
};

0 comments on commit eabadac

Please sign in to comment.