webwriter-app / webwriter

Authoring tool for interactive content
https://webwriter.app
Other
16 stars 1 forks source link

project.json of imported projects always gets modified #62

Closed der-grosse closed 7 months ago

der-grosse commented 7 months ago

Describe the bug When importing a widgets its project.json always gets modified. e.g. when your prettierconfig demands an empty at the end of the file, this empty line will always be removed or tabWidth is not 2.

To Reproduce Steps to reproduce the behavior:

  1. Create a widget with a project.json
  2. Increase tabWidth to 4
  3. Import widget into webwriter without changing anything in the import screen
  4. The project.json has been reformatted in a different style

Desktop (please complete the following information):