Zum Hauptinhalt gehen

html in Text component, especially for formatting image size

Kommentare

9 Kommentare

  • Nico Burgerhart

    2. No (security reasons)

    0
  • John Nerge

    Wow, thanks for the super fast reply, Nico!

    @VertiGIS, that's unfortunately very limiting. Hoping future releases can improve the Text component to support more enriched formatting. Is it possible to at least add more capability in markdown? It seems like there should be options with certain version for doing stuff like formatting image widths?

    0
  • Michelle Wang

    I also hope VertiGIS can enhance the Text component. With the current formatting options, I am not able to format the Home panel of my VSW apps the same as the one in my GVH apps.

    0
  • Lucas Aubert

    Hey John, if you place the image in a panel, row, or column component - you can adjust the width like so:


    Within the Web GIS - Default template, you can access these settings for the Capital City logo here:


    For a list of available Markdown syntax options check out the Workflow documentation here: https://docs.vertigisstudio.com/workflow/latest/help/Default.htm#wf5/help/form-elements.htm#markdown

     

    1
  • John Nerge

    Michelle agreed, def important to have parity between the two in order to move stuff over and keep users happy and supported.

    Lucas, that markdown link is VERY helpful information, thank you! I don't think the first part quite works, though? In this case I'm trying to put our logo below the text in the Home panel. I see that I can adjust the height since it's in a row, but that doesn't seem to achieve the desired affect of resizing the image width.

    0
  • Lucas Aubert

    Hey John, place your image within a Column component like so:

    Then within the Column component, you can alter the alignment and width settings:


    This is how the Capital City logo is structured on the toolbar. 

    1
  • John Nerge

    Got it working, thanks!

    0
  • Nico Burgerhart

    Source of my reaction on HTML not allowed:
    https://support.vertigis.com/hc/en-us/community/posts/17516940721810/comments/17530935670418

    HTML is not supported in the Display Form activity for basically the same reasons. Simply running some HTML crafted by a workflow would be dangerous unless the source of that HTML is trusted. Instead, workflow forms support Markdown because it is safe while allowing a reasonable level of formatting control.

    0
  • Michelle Wang

    We used groupbox to format our disclaimer and copyright of our GIS data in GVH Home panel. Any way to achieve similar format in VSW?

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.