Skip to content

Commit

Permalink
Remove uploading-attachment custom model from BaseHTMLEngineProvider
Browse files Browse the repository at this point in the history
The `uploading-attachment` custom model is removed as it is no longer used.
  • Loading branch information
kidroca committed Jul 12, 2024
1 parent d28d2e0 commit 27ca9a8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,8 @@ function BaseHTMLEngineProvider({textSelectable = false, children, enableExperim
mixedUAStyles: {...styles.textSupporting, ...styles.textLineThrough},
contentModel: HTMLContentModel.textual,
}),
'uploading-attachment': HTMLElementModel.fromCustomModel({
tagName: 'uploading-attachment',
mixedUAStyles: {...styles.mt4},
contentModel: HTMLContentModel.block,
}),
}),
[styles.formError, styles.mb0, styles.colorMuted, styles.textLabelSupporting, styles.lh16, styles.textSupporting, styles.textLineThrough, styles.mt4, styles.mutedNormalTextLabel],
[styles.formError, styles.mb0, styles.colorMuted, styles.textLabelSupporting, styles.lh16, styles.textSupporting, styles.textLineThrough, styles.mutedNormalTextLabel],
);
/* eslint-enable @typescript-eslint/naming-convention */

Expand Down

0 comments on commit 27ca9a8

Please sign in to comment.