Allow document reading when embedded in an iframe
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
We use Makecode in a company I work for, the editor is embedded in an iframe wrapped with some extra non-important GUI.
Since some of us want to add some modded elements to the editor, we can't currently do it with the system in place.
postMessage works fine for some things, but the modding we're trying to implement is editing the flyout and other blockly based things.
It would be awesome to allow document reading when embedded in an iframe so we can access public exports for makecode through the iframe... or some alternative method to access blockly.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the iframe integration and the existing postMessage path described in the issue. Determine whether public MakeCode exports or Blockly-based editor surfaces can be exposed safely, or whether a documented alternative is needed; done means a concrete access method is defined and usable for embedded editors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100