move resolver to tinyMCE package

This commit is contained in:
Niels Lyngsø
2024-09-27 10:08:20 +02:00
parent f997f3e876
commit ad27f138b3
4 changed files with 4 additions and 11 deletions

View File

@@ -2,4 +2,3 @@ export * from './components/index.js';
export * from './context/index.js';
export * from './workspace/index.js';
export * from './types.js';
export * from './property-value-resolver/rte-block-value-resolver.api.js';

View File

@@ -1,5 +1,5 @@
import { UmbRteBlockValueResolver } from '@umbraco-cms/backoffice/block-rte';
import { manifest as schemaManifest } from './Umbraco.RichText.js';
import { UmbRteBlockValueResolver } from './property-value-resolver/rte-block-value-resolver.api.js';
export const UMB_BLOCK_RTE_PROPERTY_EDITOR_SCHEMA_ALIAS = 'Umbraco.RichText';
export const UMB_BLOCK_RTE_PROPERTY_EDITOR_UI_ALIAS = 'Umb.PropertyEditorUi.TinyMCE';

View File

@@ -1,4 +1,4 @@
import type { UmbPropertyEditorUiValueType } from '../../../tiny-mce/types.js';
import type { UmbPropertyEditorUiValueType } from '../../../types.js';
import {
UmbBlockValueResolver,
type UmbBlockDataValueModel,

View File

@@ -1,12 +1,6 @@
import type { UmbBlockDataModel, UmbBlockExposeModel } from '@umbraco-cms/backoffice/block';
export interface UmbRteBlockValueType {
contentData: Array<UmbBlockDataModel>;
settingsData: Array<UmbBlockDataModel>;
expose: Array<UmbBlockExposeModel>;
}
import type { UmbBlockValueDataPropertiesBaseType } from '@umbraco-cms/backoffice/block';
export interface UmbPropertyEditorUiValueType {
markup: string;
blocks: UmbRteBlockValueType;
blocks: UmbBlockValueDataPropertiesBaseType;
}