BREAKING CHANGE(decorators): Migrate to TC39 standard decorators (accessor) across components, update tsconfig and bump dependencies
This commit is contained in:
@@ -38,33 +38,31 @@ export class DeesInputRichtext extends DeesInputBase<string> {
|
||||
type: String,
|
||||
reflect: true,
|
||||
})
|
||||
public value: string = '';
|
||||
accessor value: string = '';
|
||||
|
||||
@property({
|
||||
type: String,
|
||||
})
|
||||
public placeholder: string = '';
|
||||
accessor placeholder: string = '';
|
||||
|
||||
@property({
|
||||
type: Boolean,
|
||||
})
|
||||
public showWordCount: boolean = true;
|
||||
accessor showWordCount: boolean = true;
|
||||
|
||||
@property({
|
||||
type: Number,
|
||||
})
|
||||
public minHeight: number = 200;
|
||||
accessor minHeight: number = 200;
|
||||
|
||||
@state()
|
||||
public showLinkInput: boolean = false;
|
||||
accessor showLinkInput: boolean = false;
|
||||
|
||||
@state()
|
||||
public wordCount: number = 0;
|
||||
accessor wordCount: number = 0;
|
||||
|
||||
@query('.editor-content')
|
||||
private editorElement: HTMLElement;
|
||||
|
||||
@query('.link-input input')
|
||||
private linkInputElement: HTMLInputElement;
|
||||
|
||||
public editor: Editor;
|
||||
|
||||
Reference in New Issue
Block a user