-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into chore/update-enum
- Loading branch information
Showing
56 changed files
with
366 additions
and
263 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
import {StrictMode} from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import {createRoot} from 'react-dom/client'; | ||
import AddForm from './components/Onboarding/Components/AddForm'; | ||
import './colors.scss'; | ||
|
||
const appContainer = document.createElement('div'); | ||
const target = document.querySelector('.wp-header-end'); | ||
target.parentNode.insertBefore(appContainer, target); | ||
|
||
ReactDOM.render( | ||
createRoot(appContainer).render( | ||
<StrictMode> | ||
<AddForm /> | ||
</StrictMode>, | ||
appContainer | ||
</StrictMode> | ||
); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import {StrictMode} from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import DonationFormsListTable from "./components/DonationFormsListTable"; | ||
import {createRoot} from 'react-dom/client'; | ||
import DonationFormsListTable from './components/DonationFormsListTable'; | ||
import './colors.scss'; | ||
|
||
ReactDOM.render( | ||
const root = document.getElementById('give-admin-donation-forms-root'); | ||
|
||
createRoot(root).render( | ||
<StrictMode> | ||
<DonationFormsListTable /> | ||
</StrictMode>, | ||
document.getElementById('give-admin-donation-forms-root') | ||
</StrictMode> | ||
); | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import {StrictMode} from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import {createRoot} from 'react-dom/client'; | ||
import EditForm from './components/Onboarding/Components/EditForm'; | ||
import './colors.scss'; | ||
|
||
ReactDOM.render( | ||
const root = createRoot(document.getElementById('give-admin-edit-v2form')); | ||
|
||
root.render( | ||
<StrictMode> | ||
<EditForm /> | ||
</StrictMode>, | ||
document.getElementById('give-admin-edit-v2form') | ||
</StrictMode> | ||
); |
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
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
4 changes: 3 additions & 1 deletion
4
src/DonationForms/resources/registrars/templates/layouts/HeaderDescription.tsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import type {HeaderDescriptionProps} from '@givewp/forms/propTypes'; | ||
import {Interweave} from 'interweave'; | ||
|
||
/** | ||
* @unreleased Replace <p></p> tag with Interweave to be able to render the content generated through the ClassicEditor component | ||
* @since 3.0.0 | ||
*/ | ||
export default function HeaderDescription({text}: HeaderDescriptionProps) { | ||
return <p>{text}</p>; | ||
return <Interweave content={text} />; | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
import {StrictMode} from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import {createRoot} from 'react-dom/client'; | ||
import DonationsListTable from './components/DonationsListTable'; | ||
|
||
ReactDOM.render( | ||
<StrictMode>{<DonationsListTable />}</StrictMode>, | ||
document.getElementById('give-admin-donations-root') | ||
const root = createRoot(document.getElementById('give-admin-donations-root')); | ||
|
||
root.render( | ||
<StrictMode> | ||
<DonationsListTable /> | ||
</StrictMode> | ||
); |
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
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
Oops, something went wrong.