Skip to content

Step 1 - Update editor lite and component with global id

Paul Slaughter requested to merge 217801-step-1-update-editor-lite into master

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)
Screen_Shot_2020-08-11_at_11.49.52_AM Screen_Shot_2020-08-11_at_12.03.17_PM

References

Edited by Paul Slaughter

Merge request reports