text: 
  const editor=new EditorJS({
      handle:'editorjs',
      tools:{
          header:Header,
          list:{
              class:List,
              inlineToolbar:true,
          },
          embed:Embed,
      },
      
  });
  var firebaseConfig = {
      apiKey: "<YOUR API KEY>",
      authDomain: "<AUTH DOMAIN>",
      databaseURL:"<DATABASE URL>",
      projectId: "<PROJECT ID>",
      storageBucket: "<BUCKET>",
      messagingSenderId: "<ID>",
      appId: "<APP ID>",
      measurementId: "<ID>"
    };
    // Initialize Firebase
    firebase.initializeApp(firebaseConfig);
    firebase.analytics();
  
   
  
  let saveBtn=document.querySelector('button');
  
  saveBtn.addEventListener('click',function() {
      editor.save().then((outputData)=>{
         
          let s=outputData['time']+" "
          firebase.database().ref(s).set({
             
              editorjs:JSON.stringify(outputData)
       
      })    
              alert("Your document has been saved!")
              editor.blocks.clear()
      }).catch((error)=>{
              console.log(error)
      });
  })
  