261117_02_ENH: kri-editor 이미지맵 미리보기 오버레이·smsFrameClassName 추가, React Compiler lint 및 SonarQube 지적 사항 수정
This commit is contained in:
@@ -29,6 +29,13 @@ When implementing or changing frontend UI, use this order:
|
||||
- `colors`, `allowCustom`, `allowClear`, `disabled`, `placeholder`, `className`, and `aria-label` are optional. A disabled palette never opens.
|
||||
- Color helpers (`parseHexColor`, `formatHexColor`, `normalizeHexColor`, `isLightHexColor`) ship in `color-palette/color.ts`. Render stored colors as solid backgrounds without extra opacity so they match the palette.
|
||||
|
||||
### KriEditor Preview Options
|
||||
|
||||
- With `enableImageMap` and `showPreview`, the WYSIWYG preview overlays `<area>` regions (rect/circle/poly); without `enableImageMap` nothing changes.
|
||||
- `smsFrameClassName?: string` appends classes to the SMS preview phone frame (for example, overriding the default `h-[600px]`).
|
||||
- `renderToolbarEnd` is rendered through an internal slot component; when the prop is provided, the toolbar separator is always shown even if the function returns `null`.
|
||||
- Installed copies may diverge locally; compare against the registry source before reinstalling with overwrite.
|
||||
|
||||
### KriEditor SMS Preview
|
||||
|
||||
- `changeSmsType` reports `SMS | LMS | MMS`. Update consumer callbacks to handle `MMS`; this widens the previous callback contract.
|
||||
|
||||
Reference in New Issue
Block a user