setDoc

Replace the entire document content with text.