r01-editor

Details

Back to Visual Areas inventory

Editor is a VA that allows you to insert both HTML and plain text.

  • Values

    The content of the data structure is dynamic: it is entered by the user.
    This visual area also has a header section made up of a title (textarea) and a subtitle (HTML editor).

    {
        "title" : "Datos de contacto",
        "subTitle" : "<p>Medios para la comunicación de la ciudadanía con la Administración<p>",  
        "codeHTML" : "<p>......<p>"
    }
    
  • Description of the items

    • titleTitle of the header section of the visual area

    • subTitleSubtitle of the header section of the visual area

    • codeHTML: Single field. It can contain plain text or html code to be inserted into the page.

  • Editable by the web designer

    The html is editable by the user. Through "expressions" we can model how to insert the data structure on the page.

    <div class="va{OID}">
    <span>{{{codeHTML}}}</span>
    </div>
  • Definition of expressions

    {{{codeHTML}}}: Insert all the content of the field with the same name. The triple key is used for interpreting HTML code that it's inside the variable.