Problem/Motivation

When a webform config file is exported all returns are replaced with \r\n making elements and options difficult the read and edit.

Proposed resolution

Replace export single file textarea with CodeMirror YAML editor and tidy (only) webform configuration files.

Notes

  • This feature will only be available via the webform_devel.module
  • Only webform config files will be tidied.

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Here is the patch with the before and after...

jrockowitz’s picture

jrockowitz’s picture

Status: Active » Needs review

  • jrockowitz committed 2593257 on 8.x-5.x
    Issue #2845465 by jrockowitz: Add CodeMirror editor and tidy YAML when...
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.