postupdate

This commit is contained in:
Untone 2024-10-03 12:54:27 +03:00
parent 64e61de5ec
commit 930ae086a7
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,8 @@ export const MicroBubbleMenu = (props: MicroBubbleMenuProps) => {
const isActive = (name: string, attributes?: Record<string, string | number>) => const isActive = (name: string, attributes?: Record<string, string | number>) =>
createEditorTransaction( createEditorTransaction(
() => props.editor, // biome-ignore lint/suspicious/noExplicitAny: tiptap 2.8.0 typing
() => props.editor as any,
(editor) => editor?.isActive(name, attributes) (editor) => editor?.isActive(name, attributes)
) )

View File

@ -1011,7 +1011,7 @@ details {
display: -webkit-box !important; display: -webkit-box !important;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
-webkit-line-clamp: 2; line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
white-space: normal; white-space: normal;
} }