Skip to content

Commit

Permalink
tiptop min height configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
busrasengul committed Oct 17, 2024
1 parent dac0c03 commit 3475172
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class UmbInputTiptapElement extends UmbFormControlMixin<string, typeof Um

const dimensions = this.configuration?.getValueByAlias<{ width?: number; height?: number }>('dimensions');
if (dimensions?.width) this.setAttribute('style', `max-width: ${dimensions.width}px;`);
if (dimensions?.height) element.setAttribute('style', `max-height: ${dimensions.height}px;`);
if (dimensions?.height) element.setAttribute('style', `min-height: ${dimensions.height}px;`);

this._toolbar = this.configuration?.getValueByAlias<UmbTiptapToolbarValue>('toolbar') ?? [[[]]];

Expand Down

0 comments on commit 3475172

Please sign in to comment.