sync
This commit is contained in:
@@ -23,7 +23,7 @@ import EmojiPicker from "@/components/ui/emoji-picker.tsx";
|
|||||||
|
|
||||||
export function CalloutMenu({ editor }: EditorMenuProps) {
|
export function CalloutMenu({ editor }: EditorMenuProps) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const shouldShow = useCallback(
|
const shouldShow = useCallback(
|
||||||
({ state }: ShouldShowProps) => {
|
({ state }: ShouldShowProps) => {
|
||||||
if (!state) {
|
if (!state) {
|
||||||
@@ -164,19 +164,17 @@ export function CalloutMenu({ editor }: EditorMenuProps) {
|
|||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
<Tooltip position="top" label={t("Custom emoji")}>
|
<EmojiPicker
|
||||||
<EmojiPicker
|
onEmojiSelect={setCalloutIcon}
|
||||||
onEmojiSelect={setCalloutIcon}
|
removeEmojiAction={removeCalloutIcon}
|
||||||
removeEmojiAction={removeCalloutIcon}
|
readOnly={false}
|
||||||
readOnly={false}
|
icon={currentIcon || <IconMoodSmile size={18} />}
|
||||||
icon={currentIcon || <IconMoodSmile size={18} />}
|
actionIconProps={{
|
||||||
actionIconProps={{
|
size: "lg",
|
||||||
size: "lg",
|
variant: "default",
|
||||||
variant: "default",
|
c: undefined,
|
||||||
c: undefined
|
}}
|
||||||
}}
|
/>
|
||||||
/>
|
|
||||||
</Tooltip>
|
|
||||||
</ActionIcon.Group>
|
</ActionIcon.Group>
|
||||||
</BaseBubbleMenu>
|
</BaseBubbleMenu>
|
||||||
);
|
);
|
||||||
|
|||||||
+1
-1
Submodule apps/server/src/ee updated: aa33dcd2ba...38de2d0dc1
Reference in New Issue
Block a user