TASKS-1823 WebManager module
This commit is contained in:
@@ -61,7 +61,7 @@ export const RichTextEditor: React.FC<RichTextEditorProps> = ({
|
||||
}, [editor, disabled]);
|
||||
|
||||
return (
|
||||
<div className={cn('crux-editor border-input overflow-hidden rounded-md border', className)}>
|
||||
<div className={cn('crux-editor overflow-hidden rounded-md', className)}>
|
||||
<Toolbar editor={editor} preset={preset} disabled={disabled} />
|
||||
<EditorContent editor={editor} />
|
||||
</div>
|
||||
|
||||
@@ -13,6 +13,11 @@
|
||||
color: var(--foreground);
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.6;
|
||||
border-bottom: 1px solid var(--color-input);
|
||||
border-left: 1px solid var(--color-input);
|
||||
border-right: 1px solid var(--color-input);
|
||||
border-bottom-right-radius: var(--radius-md);
|
||||
border-bottom-left-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.crux-editor__content :first-child {
|
||||
|
||||
@@ -39,13 +39,7 @@ export function intlNameService<LM extends IntlNameLocaleMap, FallbackLang exten
|
||||
const name = convertInputToCamel(input);
|
||||
const pattern = getPattern(fmt);
|
||||
|
||||
return formatNameByPattern(pattern, {
|
||||
firstName: name.firstName,
|
||||
lastName: name.lastName,
|
||||
middleName: name.patronymic,
|
||||
prefix: name.prefix,
|
||||
suffix: name.suffix,
|
||||
});
|
||||
return formatNameByPattern(pattern, name);
|
||||
},
|
||||
|
||||
toObject: (input: NameFormatInputType) => convertInputToCamel(input),
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user