Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1451

Stunner - Chrome extension doesn't preserve new lines and indentation

    XMLWordPrintable

Details

    • Hide
      1. Open any process using Stunner Chrome plugin
      2. Move any node and save changes
      3. Save the process

      Actual Result

      Process will be saved in single line

      Expected Result

      Process should preserve indentation

      Show
      Open any process using Stunner Chrome plugin Move any node and save changes Save the process Actual Result Process will be saved in single line Expected Result Process should preserve indentation

    Description

      When saving process using Chrome Plugin, modified process will be saved in single line without indentations.

      Same behaviour can be reproduced in Kogito Stunner Showcase when getting the process using

      window.frames.editorFrame.contentWindow.gwtEditorBeans.get("BPMNDiagramEditor").get().getContent()
      

      command.

      VS Code extension preserves indentation using XSLTProcessor.

      Attachments

        Issue Links

          Activity

            People

              eignatow Eder Ignatowicz
              kgaevski@redhat.com Kirill Gaevskii
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: