Enhanced Rich Text, or Rich text fields

Forums Dynamic Forms for SharePoint Enhanced Rich Text, or Rich text fields

Viewing 4 reply threads
  • Author
    Posts
    • #30727
      Paul Lynch
      Participant

      For multiple lines of text columns in DFFS, can we enhance it?

      Standard field types are:

      Plain text
      Rich text (Bold, italics, text alignment, hyperlinks)
      Enhanced rich text (Rich text with pictures, tables, and hyperlinks

      Plain text seems to place a box that can be dragged (expanded). The other second two options do not seem to do much in DFFS.

      Would like to be able to see a mini ribbon and vertical scroll bar (to add strike throughts/bold).

      Can only add a scroll bar for a plain text field using some css like overflow:scroll; but this does not work for rich or enhanced text.

      Any ideas?

      My dynamic form version is below (latest).

      DFFS Loader: v2
      DFFS frontend: 4.4.5.0 – June 1, 2020
      DFFS frontend CSS: 4.60 /
      Autocomplete: 1.6.48 – May 10, 2020
      Cascading dropdowns: 3.7.40 – June 1, 2020
      jQuery: 1.12.4
      Lookup: 1.1.20 – March 10, 2020
      Resource management: 2.4.5 – August 29, 2019
      SPJS-Utility: 1.347 – June 1, 2020
      vLookup: 2.2.155 – June 1, 2020

      • This topic was modified 1 week, 5 days ago by Paul Lynch.
      • This topic was modified 1 week, 5 days ago by Paul Lynch.
      • This topic was modified 1 week, 5 days ago by Paul Lynch.
      • This topic was modified 1 week, 5 days ago by Paul Lynch.
    • #30733
      Paul Lynch
      Participant

      Sorry for some reason I forgot the ribbon is at the top of the page! But a scroll bar would be nice, if we could fix the size of the box, as there might be fields under neath the multi line text field.

    • #30734
      Alexander Bautz
      Keymaster

      Hi,
      Rich text fields sould auto-grow in SharePoint, but if you need to add a max-height to have scrollbars you can add this to your Custom CSS:

      .ms-rtestate-write{
          max-height:400px;
          overflow:auto;
      }

      This is tested in SPO on a enhanced rich text field – if it does not work, right click and select “Inspect” on the multiline > find the div tag that wraps the content > use the ID or the class to identify the field and modify the CSS snippet above.

      Alexander

    • #30736
      Paul Lynch
      Participant

      Works perfectly thanks Alexander will send some beers your way!

    • #30738
      Alexander Bautz
      Keymaster

      Thanks!

      Alexander

Viewing 4 reply threads
  • You must be logged in to reply to this topic.