In a Dev category discussion titled ‘Approach to embedding excel using javascript,’ bquast seeks to allow forum members to embed Excel spreadsheets via JavaScript, specifically using OneDrive’s embed script. However, Discourse strips such scripts for security. Jagster questions the necessity and usability, especially on mobile, prompting bquast to clarify that spreadsheets are essential for explaining Excel-based workflows — neither code nor screenshots suffice. He’s open to resizing and acknowledges mobile limitations. pfaffman suggests a theme component with BBCode that validates OneDrive URLs. Heliosurge references the Table Builder theme component, which offers Excel-like features (paid for advanced tools). bquast confirms he authored that thread and sees both tools as useful for different cases. He’s using a forked basic editor plugin and wonders if post-processing (e.g., auto-converting OneDrive URLs to embed code) is feasible 7 — possibly via modifying the post-cooking process 8. He later finds a 9-year-old plugin by Daniel Fernández for Google Sheets, which uses iframes (Discourse-friendly) and partially works after URL whitelisting, though it breaks his WYSIWYG editor. He prefers JavaScript but acknowledges iframes as a viable fallback.
Stupid question, but… why? Why would’t you want let people use what ever softwear they want and have?
I just wondering myself in the situation where an excel sheet size of 402x345px with all toolbars etc is served inside of a discourse topic and I have a mobile in use. That is.. quite hard to use.
So, the main question is here what are you trying to achieve — because that dictates what the best solution is, embedding or something else.
Thank you, I appreciate that it is not perfect. I want people to “speak” Excel on my forum. Spreadsheets are a format that are neither code, nor screenshot-able.
If you are trying to understand an explanation of how something is done in Excel, you need to look at the sheet at the same time.
That size was just from example code, I’m not wedded to that.
You cannot have all the toolbars, I would actually like to keep the Formula Bar, but this is not possible (there is no argument for this).
It will be a challenge to do this well on mobile, but TBH spreadsheets and mobile just don’t go together (although discussion about spreadsheets should be possible).
If you take a look at Table builder Customization > Theme component there is a discussion there on adding excell like features. But requires the paid version? for the advanced features.