Step 1 - Update editor lite and component with global id
- Step 1 - Update editor lite and component with global id
- Step 2 - Fix blob editor lite scroll
- Step 3 - Setup snippet utils and components for multi file
- Step FINAL - Add/remove snippet files in the edit view
What does this MR do?
This MR refactors a bit of the editor_lite
module so that we do not use fileName
as a unique identifier for the monaco model. Instead it now supports a blobGlobalId
which will be a part of the monaco model's URI, providing some unique distinction.
This is needed to support multiple file snippets.
Screenshots
Editing snippets still works
With Feature.enable(:snippets_edit_vue)
|
With Feature.disable(:snippets_edit_vue)
|
---|---|
References
- Related to #217801 (closed)
Edited by Paul Slaughter