Skip to content

Commit a59c0ab

Browse files
committed
chore: update CHANGELOG for v6.0.2 release
- Fixed various issues including mark toggling in table cells, multi-block mark undo behavior, and inline toolbar visibility for video/embed blocks. - Changed media resize defaults to derive from container width, enhancing responsiveness. - Added comprehensive documentation for placeholder support across different plugin levels.
1 parent fc87320 commit a59c0ab

File tree

2 files changed

+62
-42
lines changed

2 files changed

+62
-42
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ All notable changes to Yoopta Editor are documented in this file (monorepo singl
44

55
---
66

7+
## [6.0.2] - 2026-03-16
8+
9+
### Fixed
10+
11+
- **Marks in Table plugin**: Fixed bold, italic, underline, and other marks not toggling inside table cells. Removed `Range.isExpanded` guard from the editor's `onKeyDown` handler so mark hotkeys work with both collapsed and expanded selections. (#592)
12+
- **Multi-block mark undo**: Applying marks (bold, italic, highlight, etc.) across multiple selected blocks now undoes in a single Cmd+Z step instead of block-by-block. Wrapped `toggle`, `addMark`, `removeMark`, and `update` multi-block loops in `editor.batchOperations()`. (#592)
13+
- **Video/Embed inline toolbar not showing**: Fixed inline toolbar not appearing for video and embed blocks. Replaced Rnd callback ref with a regular div ref (same pattern as image) so the floating toolbar reference is available on mount. (#592)
14+
- **Resize handles visibility on dark content**: Changed resize handle styling for image, video, and embed from `bg-primary` to white handles with border and drop shadow (`bg-white border border-border shadow-[0_0_4px_rgba(0,0,0,0.3)]`) for consistent visibility on any background. (#592)
15+
- **Placeholder support for nested plugins**: Fixed placeholders not showing in nested plugin elements (e.g., Steps). `decorate` now resolves placeholder from the closest parent element instead of only the root element. (#592)
16+
17+
### Changed
18+
19+
- **Media resize defaults**: Removed hardcoded `650px`/`550px` default sizes from image, embed, and video render components in shadcn theme. Max sizes now derive from actual editor container width via `ResizeObserver`, with no artificial limits. (#592)
20+
21+
### Added
22+
23+
- **Placeholder documentation**: Added comprehensive Placeholders section to `docs/core/editor.mdx` covering editor-level, element-level, nested plugin, and CSS styling. Updated `docs/core/plugins.mdx` with extended placeholder field docs and cross-references. (#592)
24+
25+
---
26+
727
## [6.0.1] - 2026-02-27
828

929
### Fixed

yarn.lock

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6360,7 +6360,7 @@ __metadata:
63606360
version: 0.0.0-use.local
63616361
resolution: "@yoopta/accordion@workspace:packages/plugins/accordion"
63626362
peerDependencies:
6363-
"@yoopta/editor": 6.0.1
6363+
"@yoopta/editor": 6.0.2
63646364
react: ">=18.2.0"
63656365
react-dom: ">=18.2.0"
63666366
languageName: unknown
@@ -6370,7 +6370,7 @@ __metadata:
63706370
version: 0.0.0-use.local
63716371
resolution: "@yoopta/blockquote@workspace:packages/plugins/blockquote"
63726372
peerDependencies:
6373-
"@yoopta/editor": 6.0.1
6373+
"@yoopta/editor": 6.0.2
63746374
react: ">=18.2.0"
63756375
react-dom: ">=18.2.0"
63766376
languageName: unknown
@@ -6380,7 +6380,7 @@ __metadata:
63806380
version: 0.0.0-use.local
63816381
resolution: "@yoopta/callout@workspace:packages/plugins/callout"
63826382
peerDependencies:
6383-
"@yoopta/editor": 6.0.1
6383+
"@yoopta/editor": 6.0.2
63846384
react: ">=18.2.0"
63856385
react-dom: ">=18.2.0"
63866386
languageName: unknown
@@ -6392,21 +6392,21 @@ __metadata:
63926392
dependencies:
63936393
embla-carousel-react: "npm:^8.6.0"
63946394
peerDependencies:
6395-
"@yoopta/editor": 6.0.1
6395+
"@yoopta/editor": 6.0.2
63966396
react: ">=18.2.0"
63976397
react-dom: ">=18.2.0"
63986398
languageName: unknown
63996399
linkType: soft
64006400

6401-
"@yoopta/code@npm:^6.0.1, @yoopta/code@workspace:*, @yoopta/code@workspace:packages/plugins/code":
6401+
"@yoopta/code@npm:^6.0.2, @yoopta/code@workspace:*, @yoopta/code@workspace:packages/plugins/code":
64026402
version: 0.0.0-use.local
64036403
resolution: "@yoopta/code@workspace:packages/plugins/code"
64046404
dependencies:
64056405
check-peer-dependencies: "npm:^4.3.0"
64066406
prettier: "npm:^3.7.4"
64076407
shiki: "npm:^3.20.0"
64086408
peerDependencies:
6409-
"@yoopta/editor": 6.0.1
6409+
"@yoopta/editor": 6.0.2
64106410
react: ">=18.2.0"
64116411
react-dom: ">=18.2.0"
64126412
languageName: unknown
@@ -6420,7 +6420,7 @@ __metadata:
64206420
y-protocols: "npm:^1.0.6"
64216421
yjs: "npm:^13.6.0"
64226422
peerDependencies:
6423-
"@yoopta/editor": 6.0.1
6423+
"@yoopta/editor": 6.0.2
64246424
react: ">=18.2.0"
64256425
react-dom: ">=18.2.0"
64266426
languageName: unknown
@@ -6430,7 +6430,7 @@ __metadata:
64306430
version: 0.0.0-use.local
64316431
resolution: "@yoopta/divider@workspace:packages/plugins/divider"
64326432
peerDependencies:
6433-
"@yoopta/editor": 6.0.1
6433+
"@yoopta/editor": 6.0.2
64346434
react: ">=18.2.0"
64356435
react-dom: ">=18.2.0"
64366436
languageName: unknown
@@ -6460,7 +6460,7 @@ __metadata:
64606460
version: 0.0.0-use.local
64616461
resolution: "@yoopta/embed@workspace:packages/plugins/embed"
64626462
peerDependencies:
6463-
"@yoopta/editor": 6.0.1
6463+
"@yoopta/editor": 6.0.2
64646464
react: ">=18.2.0"
64656465
react-dom: ">=18.2.0"
64666466
languageName: unknown
@@ -6470,7 +6470,7 @@ __metadata:
64706470
version: 0.0.0-use.local
64716471
resolution: "@yoopta/emoji@workspace:packages/plugins/emoji"
64726472
peerDependencies:
6473-
"@yoopta/editor": 6.0.1
6473+
"@yoopta/editor": 6.0.2
64746474
react: ">=18.2.0"
64756475
react-dom: ">=18.2.0"
64766476
languageName: unknown
@@ -6482,7 +6482,7 @@ __metadata:
64826482
dependencies:
64836483
marked: "npm:^13.0.0"
64846484
peerDependencies:
6485-
"@yoopta/editor": 6.0.1
6485+
"@yoopta/editor": 6.0.2
64866486
react: ">=18.2.0"
64876487
react-dom: ">=18.2.0"
64886488
languageName: unknown
@@ -6492,7 +6492,7 @@ __metadata:
64926492
version: 0.0.0-use.local
64936493
resolution: "@yoopta/file@workspace:packages/plugins/file"
64946494
peerDependencies:
6495-
"@yoopta/editor": 6.0.1
6495+
"@yoopta/editor": 6.0.2
64966496
react: ">=18.2.0"
64976497
react-dom: ">=18.2.0"
64986498
languageName: unknown
@@ -6506,17 +6506,17 @@ __metadata:
65066506
postcss: "npm:^8"
65076507
tailwindcss: "npm:^3.3.0"
65086508
peerDependencies:
6509-
"@yoopta/editor": 6.0.1
6509+
"@yoopta/editor": 6.0.2
65106510
react: ">=18.2.0"
65116511
react-dom: ">=18.2.0"
65126512
languageName: unknown
65136513
linkType: soft
65146514

6515-
"@yoopta/image@npm:^6.0.1, @yoopta/image@workspace:*, @yoopta/image@workspace:packages/plugins/image":
6515+
"@yoopta/image@npm:^6.0.2, @yoopta/image@workspace:*, @yoopta/image@workspace:packages/plugins/image":
65166516
version: 0.0.0-use.local
65176517
resolution: "@yoopta/image@workspace:packages/plugins/image"
65186518
peerDependencies:
6519-
"@yoopta/editor": 6.0.1
6519+
"@yoopta/editor": 6.0.2
65206520
react: ">=18.2.0"
65216521
react-dom: ">=18.2.0"
65226522
languageName: unknown
@@ -6526,7 +6526,7 @@ __metadata:
65266526
version: 0.0.0-use.local
65276527
resolution: "@yoopta/link@workspace:packages/plugins/link"
65286528
peerDependencies:
6529-
"@yoopta/editor": 6.0.1
6529+
"@yoopta/editor": 6.0.2
65306530
react: ">=18.2.0"
65316531
react-dom: ">=18.2.0"
65326532
languageName: unknown
@@ -6536,7 +6536,7 @@ __metadata:
65366536
version: 0.0.0-use.local
65376537
resolution: "@yoopta/lists@workspace:packages/plugins/lists"
65386538
peerDependencies:
6539-
"@yoopta/editor": 6.0.1
6539+
"@yoopta/editor": 6.0.2
65406540
react: ">=18.2.0"
65416541
react-dom: ">=18.2.0"
65426542
languageName: unknown
@@ -6546,7 +6546,7 @@ __metadata:
65466546
version: 0.0.0-use.local
65476547
resolution: "@yoopta/marks@workspace:packages/marks"
65486548
peerDependencies:
6549-
"@yoopta/editor": 6.0.1
6549+
"@yoopta/editor": 6.0.2
65506550
react: ">=18.2.0"
65516551
react-dom: ">=18.2.0"
65526552
languageName: unknown
@@ -6556,7 +6556,7 @@ __metadata:
65566556
version: 0.0.0-use.local
65576557
resolution: "@yoopta/mention@workspace:packages/plugins/mention"
65586558
peerDependencies:
6559-
"@yoopta/editor": 6.0.1
6559+
"@yoopta/editor": 6.0.2
65606560
react: ">=18.2.0"
65616561
react-dom: ">=18.2.0"
65626562
languageName: unknown
@@ -6566,7 +6566,7 @@ __metadata:
65666566
version: 0.0.0-use.local
65676567
resolution: "@yoopta/paragraph@workspace:packages/plugins/paragraph"
65686568
peerDependencies:
6569-
"@yoopta/editor": 6.0.1
6569+
"@yoopta/editor": 6.0.2
65706570
react: ">=18.2.0"
65716571
react-dom: ">=18.2.0"
65726572
languageName: unknown
@@ -6576,7 +6576,7 @@ __metadata:
65766576
version: 0.0.0-use.local
65776577
resolution: "@yoopta/steps@workspace:packages/plugins/steps"
65786578
peerDependencies:
6579-
"@yoopta/editor": 6.0.1
6579+
"@yoopta/editor": 6.0.2
65806580
react: ">=18.2.0"
65816581
react-dom: ">=18.2.0"
65826582
languageName: unknown
@@ -6586,7 +6586,7 @@ __metadata:
65866586
version: 0.0.0-use.local
65876587
resolution: "@yoopta/table-of-contents@workspace:packages/plugins/table-of-contents"
65886588
peerDependencies:
6589-
"@yoopta/editor": 6.0.1
6589+
"@yoopta/editor": 6.0.2
65906590
react: ">=18.2.0"
65916591
react-dom: ">=18.2.0"
65926592
languageName: unknown
@@ -6596,7 +6596,7 @@ __metadata:
65966596
version: 0.0.0-use.local
65976597
resolution: "@yoopta/table@workspace:packages/plugins/table"
65986598
peerDependencies:
6599-
"@yoopta/editor": 6.0.1
6599+
"@yoopta/editor": 6.0.2
66006600
react: ">=18.2.0"
66016601
react-dom: ">=18.2.0"
66026602
languageName: unknown
@@ -6606,7 +6606,7 @@ __metadata:
66066606
version: 0.0.0-use.local
66076607
resolution: "@yoopta/tabs@workspace:packages/plugins/tabs"
66086608
peerDependencies:
6609-
"@yoopta/editor": 6.0.1
6609+
"@yoopta/editor": 6.0.2
66106610
react: ">=18.2.0"
66116611
react-dom: ">=18.2.0"
66126612
languageName: unknown
@@ -6616,7 +6616,7 @@ __metadata:
66166616
version: 0.0.0-use.local
66176617
resolution: "@yoopta/themes-base@workspace:packages/themes/base"
66186618
peerDependencies:
6619-
"@yoopta/editor": 6.0.1
6619+
"@yoopta/editor": 6.0.2
66206620
react: ">=18.2.0"
66216621
react-dom: ">=18.2.0"
66226622
languageName: unknown
@@ -6630,12 +6630,12 @@ __metadata:
66306630
"@emotion/styled": "npm:^11.11.5"
66316631
"@mui/icons-material": "npm:^7.3.6"
66326632
"@mui/material": "npm:^5.16.0"
6633-
"@yoopta/code": "npm:^6.0.1"
6634-
"@yoopta/image": "npm:^6.0.1"
6633+
"@yoopta/code": "npm:^6.0.2"
6634+
"@yoopta/image": "npm:^6.0.2"
66356635
copy-to-clipboard: "npm:^3.3.3"
66366636
react-rnd: "npm:^10.5.2"
66376637
peerDependencies:
6638-
"@yoopta/editor": 6.0.1
6638+
"@yoopta/editor": 6.0.2
66396639
react: ">=18.2.0"
66406640
react-dom: ">=18.2.0"
66416641
languageName: unknown
@@ -6666,18 +6666,18 @@ __metadata:
66666666
tailwind-merge: "npm:^2.5.4"
66676667
tailwindcss: "npm:^3.0.0"
66686668
peerDependencies:
6669-
"@yoopta/code": ^6.0.1
6670-
"@yoopta/editor": ^6.0.1
6671-
"@yoopta/embed": ^6.0.1
6672-
"@yoopta/file": ^6.0.1
6673-
"@yoopta/image": ^6.0.1
6674-
"@yoopta/lists": ^6.0.1
6675-
"@yoopta/steps": ^6.0.1
6676-
"@yoopta/table": ^6.0.1
6677-
"@yoopta/table-of-contents": ^6.0.1
6678-
"@yoopta/tabs": ^6.0.1
6679-
"@yoopta/ui": ^6.0.1
6680-
"@yoopta/video": ^6.0.1
6669+
"@yoopta/code": ^6.0.2
6670+
"@yoopta/editor": ^6.0.2
6671+
"@yoopta/embed": ^6.0.2
6672+
"@yoopta/file": ^6.0.2
6673+
"@yoopta/image": ^6.0.2
6674+
"@yoopta/lists": ^6.0.2
6675+
"@yoopta/steps": ^6.0.2
6676+
"@yoopta/table": ^6.0.2
6677+
"@yoopta/table-of-contents": ^6.0.2
6678+
"@yoopta/tabs": ^6.0.2
6679+
"@yoopta/ui": ^6.0.2
6680+
"@yoopta/video": ^6.0.2
66816681
react: ">=18.2.0"
66826682
react-dom: ">=18.2.0"
66836683
slate: ^0.120.0
@@ -6705,7 +6705,7 @@ __metadata:
67056705
tailwind-merge: "npm:^2.0.0"
67066706
use-debounce: "npm:^10.0.0"
67076707
peerDependencies:
6708-
"@yoopta/editor": 6.0.1
6708+
"@yoopta/editor": 6.0.2
67096709
react: ">=18.2.0"
67106710
react-dom: ">=18.2.0"
67116711
languageName: unknown
@@ -6715,7 +6715,7 @@ __metadata:
67156715
version: 0.0.0-use.local
67166716
resolution: "@yoopta/video@workspace:packages/plugins/video"
67176717
peerDependencies:
6718-
"@yoopta/editor": 6.0.1
6718+
"@yoopta/editor": 6.0.2
67196719
react: ">=18.2.0"
67206720
react-dom: ">=18.2.0"
67216721
languageName: unknown

0 commit comments

Comments
 (0)