Class: SiteContentForm

SiteContentForm()

Form to add content to a page on the landing pages

Constructor

new SiteContentForm()

Source:

Methods

submitForm()

Submit the form by dispatching the saveSiteContent action with the form state + JWT token

Source:

toggleDelete()

Toggle the delete buttons

Source:

updateField(event)

Update the field state on input

Parameters:
Name Type Description
event
Source:

updateText(input, language)

Update the description field (RTE)

Parameters:
Name Type Description
input
language
Source: