feat: display chunk type in chunk editor and dialog (#12086)

### What problem does this PR solve?

Display chunk type in chunk editor and dialog, may be one of below:
- Image
- Table
- Text

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Jimmy Ben Klieve
2025-12-22 16:45:47 +08:00
committed by GitHub
parent 5d391fb1f9
commit b42b5fcf65
7 changed files with 83 additions and 37 deletions

View File

@ -1,11 +1,10 @@
import { api_host } from '@/utils/api';
import classNames from 'classnames';
import React from 'react';
import { Popover, PopoverContent, PopoverTrigger } from '../ui/popover';
interface IImage {
interface IImage extends React.ImgHTMLAttributes<HTMLImageElement> {
id: string;
className?: string;
onClick?(): void;
t?: string | number;
}