- Resetting of the code now works again
- destroying of the component resulted in an error
- add width of viewer/console layout back in
Internal changes to how the iframes work and how messages are posted, should improve performance and future use
Use Svelte JSON tree directly inside the component, and remove the extra iframe for the console
Added Svelte JSON Tree to the project to pretifx the console output and allow to show more values than just objects
Changing the layout should not break the code. And the iframes should now always be available when we post messages to them.
New mode
prop
previous viewOnly
can now be replicated using view
mode
- viewOnly prop is remove
- active state for the switcher
- view-only class when only the view screen is visible
- Switcher between Result and Console
- Add more classes and div markup for easier styling
- Console component; display only the ouput of
console.log
statements viewOnly
option for a chapter; will hide the Code Editor
Minor Bug Fix
- Manual code editing works again
Minor Bug Fix
- Showing the solution works again; was always overwritte by the code
Styling of Components
- default class names for the components
- can be overwritten by adding
css
Prototype