Skip to content

Commit

Permalink
feat(text-editor): use uiType in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
john-traas committed Nov 11, 2024
1 parent f5baf65 commit c65260e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/text-editor/text-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Languages } from '../date-picker/date.types';
import { createRandomString } from '../../util/random-string';
import { CustomElementDefinition } from '../../global/shared-types/custom-element.types';
import { TriggerCharacter, TriggerEventDetail } from './text-editor.types';
import { EditorUiType } from './types';

/**
* A rich text editor that offers a rich text editing experience with markdown support,
Expand Down Expand Up @@ -151,7 +152,7 @@ export class TextEditor implements FormComponent<string> {
* until the editor is focused.
*/
@Prop({ reflect: true })
public ui?: 'standard' | 'minimal' = 'standard';
public ui?: EditorUiType = 'standard';

/**
* Dispatched when a change is made to the editor
Expand Down

0 comments on commit c65260e

Please sign in to comment.