Editor - Settings - Modal integration

This is the view that opens when any action is used in theme/editor/settings/includes/integration.html The fields in this view depend on the function with which it was opened.

Main Model

  • curForm:
  • curForm.title: contains a title for the modal
  • curForm.fields: this contains all the fields that will be in the modality must be conditioned to whether they are type input or select

Utility Functions

  • saveIntegration(curForm): saves the changes made in the configuration of this integration
  • hideIntegration(): closes any modality of integration

Example of base theme

This example contain 2 types of fields##

829 862
  1. fields
  2. field type select
  3. field type text