feat: enhance embed block resizing, improve bookmark viewMode reactivity, and redesign tests panel UI

- Fixed bookmark block viewMode not updating on block changes by converting to setter/getter pattern with cached property
- Enhanced embed block with persistent resize handles using opacity transitions instead of DOM changes to prevent iframe flashing
- Improved YouTube URL handling to support watch, youtu.be, shorts, and embed formats with normalized embed URLs
- Added iframe permissions (
This commit is contained in:
2025-11-20 22:00:15 -05:00
parent 6b47ec39ff
commit 843258be44
8 changed files with 319 additions and 75 deletions
+7 -15
View File
@@ -2,29 +2,21 @@
title: "Éditeur Nimbus — Section Tests"
nimbusEditor: true
documentModelFormat: "block-model-v1"
tags:
- test2
- configuration
- bruno
- titi
---
```json
{
"id": "block_1763149113471_461xyut80",
"title": "Page Tests",
"blocks": [
{
"id": "block_1763664525710_yg13o2ra5",
"type": "embed",
"props": {
"url": "https://www.youtube.com/watch?v=9z1GInFvwA0",
"provider": "generic"
},
"meta": {
"createdAt": "2025-11-20T18:48:45.710Z",
"updatedAt": "2025-11-20T18:48:53.317Z"
}
}
],
"blocks": [],
"meta": {
"createdAt": "2025-11-14T19:38:33.471Z",
"updatedAt": "2025-11-20T18:48:53.317Z"
"updatedAt": "2025-11-21T02:28:15.835Z"
}
}
```