### **How to Use the Excel Editor Plugin**
To get started, simply **drag and drop** the **"Excel Editor"** element into your Bubble app.
#### **Configuration**
The element comes with **various customizable fields**, each accompanied by **detailed documentation** to guide you in setting the correct values.
#### **Available Actions**
The **"Excel Editor"** element provides several built-in actions:
- 📝 **Add Sheet** – Create a new sheet within the editor.
- 📥 **Export & Download** – Save the spreadsheet in multiple formats.
- 🔐 **Export to Base64** – Convert the spreadsheet into a Base64 string.
- 📊 **Export Current Sheet to CSV** – Download the active sheet as a CSV file.
- 📋 **Export Current Sheet to HTML Table** – Convert the sheet into an HTML table.
- ✏️ **Set Cell Text** – Programmatically modify the text in any cell.
- 🌐 **Load Spreadsheet from URL** – Fetch and load a spreadsheet from a given URL.
- 📄 **Load Spreadsheet from JSON Data** – Load a spreadsheet from structured JSON data.
#### **Event Listeners**
The **"Excel Editor"** element triggers multiple events, allowing you to track user interactions:
- ✨ **Editor Changes** – Detect modifications made to the spreadsheet.
- 🔍 **Cell Selection** – Capture when a single cell is selected.
- 🔎 **Multiple Cells Selected** – Track when multiple cells are highlighted.
- 🖊️ **Cell Edited** – Trigger actions when a cell’s content is modified.
- ⚠️ **Editor Errors** – Catch issues such as unsupported file formats.
- 📤 **Export Events** – Get notified when the spreadsheet has been successfully exported.
- ✅ **Spreadsheet Loaded** – Triggered when a spreadsheet is successfully loaded from a URL or JSON data.
#### **Available States**
The **"Excel Editor"** element maintains various states to help you track real-time data, including:
- 📄 **JSON Representation** – Retrieve the spreadsheet’s full structure in JSON format.
- 🔠 **Selected Cell Text** – Access the content of the currently selected cell.
- ✍️ **Edited Cell Text** – Keep track of the latest edited cell’s content.
- 🔗 **Base64 Representation** – Get the spreadsheet as a Base64-encoded string.
- 📑 **CSV & HTML Representations** – Convert the spreadsheet into CSV or an HTML table format.
- **and many more**
🚀 **Easily integrate Excel-style functionality into your Bubble app today!**
### **Try It in Action!**
🔹 **Live Demo:** [View the Demo Page](
https://freecodex.bubbleapps.io/version-test/excel-editor)
🔹 **Editor View:** [Open in Bubble Editor](
https://bubble.io/page?id=freecodex&test_plugin=1740614404726x371774312063959040_current&tab=Design&name=excel-editor&type=page&wf_item=bTJKt)