move resolver to tinyMCE package
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { UmbPropertyEditorUiValueType } from '../../../tiny-mce/types.js';
|
||||
import type { UmbPropertyEditorUiValueType } from '../../../types.js';
|
||||
import {
|
||||
UmbBlockValueResolver,
|
||||
type UmbBlockDataValueModel,
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user