postupdate
This commit is contained in:
parent
64e61de5ec
commit
930ae086a7
|
@ -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)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user