Skip to content

v6.5.0#3100

Merged
JuliaMV merged 22 commits into
mainfrom
develop
May 26, 2026
Merged

v6.5.0#3100
JuliaMV merged 22 commits into
mainfrom
develop

Conversation

@JuliaMV
Copy link
Copy Markdown
Collaborator

@JuliaMV JuliaMV commented May 26, 2026

Description:

Release 6.5.0

Issue link:

QA notes:

JuliaMV and others added 22 commits April 1, 2026 17:03
* fix: fix api loading on codesandbox examples (#3072)

* Revert "fix: fix api loading on codesandbox examples (#3072)"

This reverts commit 84cec19.

* fix: add .csb.app to CSP

* fix: fix api calls on sandbox pages (#3076)

* v6.4.4

---------

Co-authored-by: st1ch <Stanislau_Matsiyeuski@epam.com>
* feat: add support for Shadow DOM for DropdownContainer

- Updated `UuiEnhancedApp` to accept a `shadowRootHost` for Shadow DOM integration.
- Introduced a new example demonstrating UUI context usage within a Shadow DOM.
- Updated documentation and type definitions to reflect the new `shadowRootHost` property.
- fixed `autoFocus` always being `true` even when `false` is passed through params.

* refactor: remove shadowRootHost support and update DropdownContainer focus handling

- Removed `shadowRootHost` from `useUuiServices` and related components.
- Updated `DropdownContainer` to manage focus lock correctly without relying on `shadowRootHost`.
- Deleted example demonstrating Shadow DOM usage as it is no longer supported.
- Updated changelog to reflect changes in focus handling for `DropdownContainer`.

* feat: add Shadow DOM support for dropdowns

* restore default autoFocus

* restore autoFocus fix

* feat: enhance screenshot handling in integration tests

- Added `waitForImagesLoaded` method to `AbsPage` to ensure images are fully loaded before taking screenshots.
- Updated `expectScreenshot` methods in `IntegrationTestPage` and `PreviewPage` to utilize the new loading method with configurable timeout.
- Imported `slowTestExpectTimeout` from configuration for better control over slow test scenarios.
- Updated related screenshot files to reflect changes in test execution.

---------

Co-authored-by: Ivan Runets <ivan_runets@epam.com>
Co-authored-by: Stanislau Matsiyeuski <stanislau_matsiyeuski@epam.com>
* Removed `SelectionUtils` from `helpers` (shadow selection helpers no longer used for toolbar placement)
* Updated `PositionedToolbar`: positioned the floating toolbar using Plate `toDOMRange`; removed the obsolete props & funcs; added a note about Safari in Shadow DOM and `useEventEditorSelectors`
* Updated `Toolbars` and `tablePlugin`: stopped passing `editor` into `FloatingToolbar`
Co-authored-by: Ivan Runets <ivan_runets@epam.com>
Preset actions dropdown used IconButton (button) inside the tab button. Render the toggler with IconButton type=span and rely on Clickable span support so the DOM stays valid and the nesting warning goes away.

Co-authored-by: Ivan Runets <ivan_runets@epam.com>
Co-authored-by: Ivan Runets <ivan_runets@epam.com>
Co-authored-by: Ivan Runets <ivan_runets@epam.com>
)

Use app.disable('x-powered-by') so the header is not set when responses
are sent. Remove redundant res.removeHeader in CSP middleware.
…536) (#3089)

Resolve output path under ROOT_DIR; reject traversal outside the repository.
…3088)

- Resolve paths under app/src/docs/_examples via path.relative check
- Reject absolute and out-of-root paths
- Fix GitHub URL when path is a string (avoid spread on string)
…al (#3090)

* fix(server): harden RTE demo path resolution and prevent path traversal

* chore: align version of express types
…3093)

- Resolve paths under app/src/docs/_examples via path.relative check
- Reject absolute and out-of-root paths
- Fix GitHub URL when path is a string (avoid spread on string)
* Switched headings and default paragraph to `PlateElement` with `as`, and bold/code/italic/superscript/underline to `PlateLeaf` with `as`
* Refactored `AttachmentBlock`, `IframeBlock`, and `PlaceholderBlock` to `PlateElement` with `PlateElementProps` / `useElement` instead of manual `attributes` / `element` typing
* Updated `quotePlugin` quote renderer, `linkPlugin` anchor override, `listPlugin` `LI` component, `paragraphPlugin` default paragraph override, `NotePluginBlock`, and `Separator` to use `PlateElement` (merged `className` / styles where needed; `Separator` no longer uses `forwardRef` and applies `contentEditable={ false }` on the element)
* Replaced nested span wrappers in `baseMarksPlugin` (bold/italic/underline) with `PlateLeaf`
* Replaced inline code span in `inlineCodePlugin` with `PlateLeaf` and `PlateLeafProps`
* Wrapped `ToDoItem` in `PlateElement` with `asChild` around `FlexRow` so Slate attributes compose with the layout row
* Added `types.ts` with `TPlaceholderElement` and used `satisfies` when inserting placeholder nodes
* Todo list plugin:
  * Moved `checked` from `data` to the element root for todo items; updated `ToDoItem` to read and toggle `checked` there
  * Added `DeprecatedTTodoListItemElement`, `isLegacyTodoListItemElement`, and `migrateCheckedPropertyIfNeeded` to lift legacy `data.checked` onto the node
  * Added `withTodoList` and `normalizeTodoListElement` and registered them on the todo list plugin
* Iframe plugin:
  * Updated `normalizeIframeElement` to set `url` from `url` or legacy `data.src` and to persist remaining `data` without `src`
  * Stopped falling back to `element.src` in `IframeBlock`; rendering uses `element.url` only
  * Extracted iframe `normalizeNode` wiring into `withIframe` and used it from the iframe plugin
…reference

* Extracted `getVirtualReferenceElement` to separate helper file (`PositionedToolbar.helpers.ts`)
* Improved virtual element positioning with `useEffect` hook and `useForceUpdate`
* Added `useRef` to manage virtual target reference and ensure proper updates
* Updated floating-ui middleware: added `inline()` for better text selection positioning
[RTE] PlateElement/PlateLeaf rendering and todo/iframe migration alignment
* feat(RangeDatePicker): create mobile view for RangeDatePicker

* fix e2e tests

* fix selected days indicator

* fixes according to code review

* add branch to qa list

* open modal on input click

* fix initial focus input

---------

Co-authored-by: Ivan Runets <ivan_runets@epam.com>
@JuliaMV JuliaMV requested a review from MSt1ch May 26, 2026 10:37
@JuliaMV JuliaMV merged commit 4dcdda5 into main May 26, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants