Skip to content

Using existing editor model content #104

@Ehesp

Description

@Ehesp

Hey,

I'm using firebase-monaco and it's working great, however when I connect the FireMonacoEditor class to my editor, I believe it attempts to read the history from RTDB and updates the model. If there is no history, the editor is essentially updated to show no content (an empty model).

The part I'm struggling to work out, is how do I apply existing content, so when the class connects it keeps the existing model content, and then applies history on-top of that? Is there some way I can essentially grab the current model, and apply that as a history item on the database?

Cheers for the great work on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions