Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- noteElement = document.getElementById("note");
- noteDocument = dbClient.collection("notes").doc(noteId);
- noteElement.oninput = function(){
- noteDocument.set({
- owner: uuid,
- text: this.innerHTML
- });
- };
Add Comment
Please, Sign In to add comment