Skip to content

Commit 651a052

Browse files
feat(sdk): add registerStyleEditorSchemas to dotUVE (#34712)
- Introduced function to the object in to enhance style editor capabilities. - Updated to include new functionality for handling style editor schemas, improving the overall editing experience. This change supports the integration of style editing features within the UVE framework, aligning with recent enhancements in the editing architecture. https://github.com/user-attachments/assets/7103695e-52d8-422d-ba26-9d452b8ebbaa This PR fixes: #34708
1 parent 43ddcc4 commit 651a052

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

core-web/libs/sdk/uve/src/script/sdk-editor.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010

1111
import { createUVESubscription, getUVEState } from '../lib/core/core.utils';
1212
import { editContentlet, reorderMenu, updateNavigation } from '../lib/editor/public';
13+
import { registerStyleEditorSchemas } from '../lib/style-editor/public';
1314

1415
declare global {
1516
interface Window {
@@ -21,7 +22,8 @@ const dotUVE = {
2122
createSubscription: createUVESubscription,
2223
editContentlet,
2324
reorderMenu,
24-
updateNavigation
25+
updateNavigation,
26+
registerStyleEditorSchemas
2527
};
2628

2729
window.dotUVE = dotUVE;

dotCMS/src/main/webapp/ext/uve/dot-uve.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)