move the plugin models
This commit is contained in:
@@ -19,7 +19,7 @@ export * from './input-color/index.js';
|
||||
export * from './input-eye-dropper/index.js';
|
||||
export * from './input-list-base/index.js';
|
||||
export * from './input-multi-url/index.js';
|
||||
export * from './input-tiny-mce/input-tiny-mce.element.js';
|
||||
export * from './input-tiny-mce/index.js';
|
||||
export * from './input-number-range/index.js';
|
||||
export * from './input-radio-button-list/index.js';
|
||||
export * from './input-section/index.js';
|
||||
|
||||
@@ -2,4 +2,5 @@ export * from './input-tiny-mce.defaults.js';
|
||||
export * from './input-tiny-mce.element.js';
|
||||
export * from './input-tiny-mce.languages.js';
|
||||
export * from './input-tiny-mce.sanitizer.js';
|
||||
export * from './input-tiny-mce.handlers.js';
|
||||
export * from './input-tiny-mce.handlers.js';
|
||||
export * from './tiny-mce-plugin.js';
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
import type { UmbDataTypePropertyCollection } from '@umbraco-cms/backoffice/components';
|
||||
import type { tinymce } from '@umbraco-cms/backoffice/external/tinymce';
|
||||
|
||||
export class UmbTinyMcePluginBase {
|
||||
host: UmbLitElement;
|
||||
editor: tinymce.Editor;
|
||||
configuration?: UmbDataTypePropertyCollection;
|
||||
|
||||
constructor(arg: TinyMcePluginArguments) {
|
||||
this.host = arg.host;
|
||||
this.editor = arg.editor;
|
||||
this.configuration = arg.configuration;
|
||||
}
|
||||
}
|
||||
|
||||
export interface TinyMcePluginArguments {
|
||||
host: UmbLitElement;
|
||||
editor: tinymce.Editor;
|
||||
configuration?: UmbDataTypePropertyCollection;
|
||||
}
|
||||
@@ -2,4 +2,3 @@ export * from './interfaces/index.js';
|
||||
export * from './models/index.js';
|
||||
export * from './registry.js';
|
||||
export * from './extension-class-initializer.js';
|
||||
export * from './tiny-mce-plugin.js';
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
import { UmbLitElement } from "@umbraco-cms/internal/lit-element";
|
||||
import { UmbDataTypePropertyCollection } from "@umbraco-cms/backoffice/components";
|
||||
import { tinymce } from "@umbraco-cms/backoffice/external/tinymce";
|
||||
|
||||
export class UmbTinyMcePluginBase {
|
||||
host: UmbLitElement;
|
||||
editor: tinymce.Editor;
|
||||
configuration?: UmbDataTypePropertyCollection;
|
||||
|
||||
constructor(arg: TinyMcePluginArguments) {
|
||||
this.host = arg.host;
|
||||
this.editor = arg.editor;
|
||||
this.configuration = arg.configuration;
|
||||
}
|
||||
}
|
||||
|
||||
export interface TinyMcePluginArguments {
|
||||
host: UmbLitElement;
|
||||
editor: tinymce.Editor;
|
||||
configuration?: UmbDataTypePropertyCollection;
|
||||
}
|
||||
Reference in New Issue
Block a user