Commit 10ded5b
Revert to document.write approach - remove broken iframe route
The playground-preview server route was fundamentally broken:
- Created nested website with navbar in iframe
- Module resolution errors
- Rendered as plaintext in some cases
Reverting to the original working document.write() approach.
Removed:
- website/src/views/playground-preview.ts
- /playground-preview route from routes.ts
- iframe src and postMessage logic from code-preview.ts
Restored:
- Original generateJavaScriptIFrameHTML with document.write()
- Working iframe execution flow
Keeping the good changes:
- Shared color-scheme utilities (fa4e901)
- Fixed animated-letters example (bcccb44)
- Fixed MathML example (ec38a97)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent ffc0f68 commit 10ded5b
File tree
3 files changed
+15
-184
lines changed- website/src
- components
- views
3 files changed
+15
-184
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | 261 | | |
263 | 262 | | |
264 | 263 | | |
| |||
270 | 269 | | |
271 | 270 | | |
272 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
273 | 282 | | |
274 | 283 | | |
275 | 284 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 285 | + | |
283 | 286 | | |
284 | | - | |
285 | 287 | | |
286 | | - | |
| 288 | + | |
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
| 292 | + | |
305 | 293 | | |
306 | 294 | | |
307 | 295 | | |
| |||
310 | 298 | | |
311 | 299 | | |
312 | 300 | | |
| 301 | + | |
| 302 | + | |
313 | 303 | | |
314 | 304 | | |
315 | 305 | | |
316 | 306 | | |
317 | 307 | | |
318 | 308 | | |
319 | | - | |
320 | 309 | | |
321 | 310 | | |
322 | 311 | | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | 312 | | |
340 | 313 | | |
341 | 314 | | |
| |||
440 | 413 | | |
441 | 414 | | |
442 | 415 | | |
443 | | - | |
444 | 416 | | |
445 | 417 | | |
446 | 418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 31 | | |
This file was deleted.
0 commit comments